FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.AssignCellFormulaX Method

Enters a Formula into a cell.

Pascal
procedure AssignCellFormulaX(const aRow: integer; const aCol: integer; const Formula: UTF16String; const FormulaResult: variant);
C++
__fastcall AssignCellFormulaX(const int aRow, const int aCol, const UTF16String Formula, const variant FormulaResult);
Parameters 
Description 
const aRow: integer 
Row for the formula (1 based) 
const aCol: integer 
Column for the formula (1 based) 
const Formula: UTF16String 
String containing the formula you want to enter. This string must start with "=" 
const FormulaResult: variant 
The result of the formula. If you don't know it, use CellFormula instead of this method to enter the formula. 

This method is similar to CellFormula , but it also allows you to specify the formula result along with the formula itself.

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!