Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

Workbook.Calculate(CellRange) Method

Forces recalculation of the specified cell range in a worksheet.

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Docs.v21.2.dll

Declaration

public void Calculate(
    CellRange range
)

Parameters

Name Type Description
range CellRange

A CellRange object containing formulas to be recalculated.

Remarks

The Calculate method calculates all cells contained in the specified range. If the CalculationOptions.Iterative option is enabled and the DocumentOptions.CalculationEngineType property is set to CalculationEngineType.ChainBased, the dependency tree is not constructed and the cells are calculated from left to right, top to bottom.

See Also