Table of Contents

XlsFile.SetFormulaTokens Method

Sets a cell with the formula specified by its tokens. Normally you will get the tokens by modifying the result of ExcelFile.GetFormulaTokens(Int32, Int32)

Syntax

Namespace: FlexCel.XlsAdapter

public override void SetFormulaTokens(Int32 sheet, Int32 row, Int32 col, TTokenList tokens)

Parameters

<-> Parameter Type Description
sheet Int32 Sheet of the cell with the formula. (1 based)
row Int32 Row of the cell with the formula. (1 based)
col Int32 Column of the cell with the formula. (1 based)
tokens TTokenList A collection of tokens which define the formula.

See also