Table of Contents

XlsFile.GetTokens Method

Returns the tokens for a formula in text form. See ExcelFile.GetFormulaTokens(Int32, Int32) for more information.

Syntax

Namespace: FlexCel.XlsAdapter

public override TTokenList GetTokens(Int32 sheet, String formula)

Parameters

<-> Parameter Type Description
sheet Int32 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 ExcelFile.ActiveSheet if the formula is in the active sheet.
formula String Formula we want to convert into tokens. Must start with an "=" sign.

See also