Table of Contents

XlsFile.Recalc Method

When ExcelFile.RecalcMode is manual, use this method to force a recalculation of the spreadsheet.

Syntax

Namespace: FlexCel.XlsAdapter

public override void Recalc(Boolean forced)

Parameters

<-> Parameter Type Description
forced Boolean When true this method will always perform a recalc. When false, only if there has been a change on the spreadsheet.
While for performance reasons you will normally want to keep this false, you might need to set it to true if the formulas refer to functions like "=NOW()" or "=RANDOM()" that change every time you recalculate.

See also