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


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Worksheet Class : CalculateFormulas Method
Starts the calculation process in 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 Worksheet
 
instance.CalculateFormulas()
public void CalculateFormulas()
Remarks

Please note that this method call could affect performance for big Worksheets with many formulas. Therefore, you should use this method only if you need to have access to a calculated value; if the saved Workbook is opened with MS Excel, the formula calculation will be done while the Workbook is opened by MS Excel.

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

Worksheet Class
Worksheet Members