Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 2.51 KB

Excel.Workbook.AccuracyVersion.md

File metadata and controls

60 lines (36 loc) · 2.51 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Workbook.AccuracyVersion property (Excel)
vbaxl10.chm199271
vbaxl10.chm199271
Excel.Workbook.AccuracyVersion
bc81782c-662c-87ec-8381-d06e77674d0c
05/25/2019
medium

Workbook.AccuracyVersion property (Excel)

Specifies whether certain worksheet functions use the latest accuracy algorithms to calculate their results. Read/write.

Syntax

expression.AccuracyVersion

expression A variable that represents a Workbook object.

Return value

Integer

Remarks

By default, some of the worksheet functions from Excel 2007 and earlier versions of Excel use new algorithms that increase their accuracy. However, in some cases, the new algorithms decrease the performance of these functions relative to their performance in Excel 2007 and earlier versions of Excel. To specify that these worksheet functions use the older algorithms to increase their performance, set the AccuracyVersion property to 1.

The following table describes the possible settings for the AccuracyVersion property.

Setting Description
0 Use the latest, most accurate algorithms (default)
1 Use Excel 2007 or earlier version algorithms
2 Use Excel 2010 algorithms

Note

Setting the AccuracyVersion property to a value other than 0, 1, or 2 will result in undefined behavior.

Example

The following example sets the affected worksheet functions to use the older algorithms to calculate their results.

ActiveWorkbook.AccuracyVersion = 1

[!includeSupport and feedback]