Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#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