Xceed Workbooks for .NET v1.4 Documentation
CalculateFormulas Method (Workbook)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Workbook Class : CalculateFormulas Method
Starts the calculation for all the Worksheets with cells containing a formula and update their Value properties.
Syntax
'Declaration

 

Public Sub CalculateFormulas() 
'Usage

 

Dim instance As Workbook

 

instance.CalculateFormulas()
public void CalculateFormulas()
Remarks
Please note that this method call could affect performance when there are many Worksheets or for big worksheets with multiple formulas. Use this method only if you need to have access to a calculated value; if the saved Workbook will be opened with MS Excel, the formula calculation will be done when MS Excel opens the Workbook.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Workbook Class
Workbook Members