Share via


_Workbook.CalculationVersion Property

Returns a number whose rightmost four digits are the minor calculation engine version number and whose other digits (on the left) are the major version of Microsoft Excel. For a Workbook object, this property returns the information about the version of Excel that the workbook was last fully recalculated by. Read-only Integer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property CalculationVersion As Integer
    Get
'Usage
Dim instance As _Workbook
Dim value As Integer

value = instance.CalculationVersion
int CalculationVersion { get; }

Property Value

Type: System.Int32

Remarks

If the workbook was saved in an earlier version of Excel, and if the workbook hasn't been fully recalculated, this property returns 0.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace