Xceed Workbooks for .NET v2.0 Documentation
CalculateFormulas Method (Workbook)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Workbook Class : CalculateFormulas Method
Starts the calculation process for all the Cells containing a formula and update their Value properties once the process is done.
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 big Worksheets with multiple formulas. Therefore, you should 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