Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.24 KB

Excel.Application.CalculationVersion.md

File metadata and controls

47 lines (29 loc) · 1.24 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.CalculationVersion property (Excel)
vbaxl10.chm133257
vbaxl10.chm133257
Excel.Application.CalculationVersion
10de3816-9873-09e5-4141-effdbfe5cd9c
04/04/2019
medium

Application.CalculationVersion property (Excel)

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. Read-only Long.

Syntax

expression.CalculationVersion

expression A variable that represents an Application object.

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.

Example

This example compares the version of Microsoft Excel with the version of Excel that the workbook was last calculated in. If the two version numbers are different, the example sets the blnFullCalc variable to True.

If Application.CalculationVersion <> _ 
 Workbooks(1).CalculationVersion Then 
 blnFullCalc = True 
Else 
 blnFullCalc = False 
End If

[!includeSupport and feedback]