set_Formula()

IChartDataCell::set_Formula(System::String) method

Sets the formula in A1-style.

virtual void Aspose::Slides::Charts::IChartDataCell::set_Formula(System::String value)=0

Remarks

auto cell = workbook->GetCell(0, u"B2");
cell->set_Formula(u"1 + SUM(F2:H5)");

See Also