TExcelFile.GetTokens Method
Returns the tokens for a formula in text form. See GetFormulaTokens(Integer, Integer) for more information.
Syntax
Unit: FlexCel.Core
function TExcelFile.GetTokens(const sheet: Integer; const formula: string): ITokenList; virtual; abstract;
Parameters
<-> |
Parameter |
Type |
Description |
const |
sheet |
Integer |
Sheet where the formula is. This is used to know if the A1 in the formula "=A1" refers to Sheet1!A1 or Sheet2!A1. This value is 1 based, and you can pass ActiveSheet if the formula is in the active sheet. |
const |
formula |
string |
Formula we want to convert into tokens. Must start with an "=" sign. |
See also