`'Declaration`

Public Overloads Sub Calculate( _ ByValworkbookAs IWorkbook, _ Optional ByValfullCalculateAs Boolean, _ Optional ByValrebuildAs Boolean _ )

`'Usage`

Dim instance As CalculationEngine Dim workbook As IWorkbook Dim fullCalculate As Boolean Dim rebuild As Boolean instance.Calculate(workbook, fullCalculate, rebuild)

#### Parameters

*workbook*- A Workbook object indicates the workbook to operate.
*fullCalculate*- if set to
`true`

, calculates all formulas; otherwise, calculates all formula as needed. Volatile formulas and formulas involved in circular references are always calculated. *rebuild*- if set to
`true`

the internal data in this CalculationEngine will be re-build.