Skip to main content

IdxSpreadSheetCellData.AsFormula Property

Provides access to a parsed formula expression associated with a cell.

Declaration

property AsFormula: TObject read;

Property Value

Type
TObject

Remarks

To access properties and methods of the stored formula expression, cast the AsFormula property value to the corresponding TdxSpreadSheetCustomFormula descendant class (TdxSpreadSheetFormula, for instance). The AsFormula property returns nil if no formula expression is associated with a cell. If the cell has a formula, you can identify its error status by using the AsError property, and the DataType property returns cdtFormula.

See Also