TXlsFile.SetFormulaTokens Method
Sets a cell with the formula specified by its tokens. Normally you will get the tokens by modifying the result of TExcelFile.GetFormulaTokens(Integer, Integer)
Syntax
Unit: FlexCel.XlsAdapter
procedure TXlsFile.SetFormulaTokens(const sheet: Integer; const row: Integer; const col: Integer; tokens: ITokenList); overload; override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | sheet | Integer | Sheet of the cell with the formula. (1 based) |
const | row | Integer | Row of the cell with the formula. (1 based) |
const | col | Integer | Column of the cell with the formula. (1 based) |
tokens | ITokenList | A collection of tokens which define the formula. |