PivotCache.UpgradeOnRefresh property (Excel)

Contains information on whether to upgrade the PivotCache and all connected PivotTables on the next refresh. Read/write Boolean.

Syntax

expression.UpgradeOnRefresh

expression A variable that represents a PivotCache object.

Remarks

The default value is False. If the property is set to True for a PivotCache, refreshing any PivotTable attached to that PivotCache will upgrade the PivotCache and all the attached PivotTables to xlPivotTableVersion12 (PivotTable.Version = 3) as part of the refresh (for more information, see XlPivotTableVersionList).

If the property is set to False for a PivotCache, refreshing any PivotTable attached to that PivotCache will not change the version of the PivotCache, nor the version of all the attached PivotTables. They all stay the same version as before the refresh.

Saving to an Excel 2007 or later file format, when in compatibility mode, will set this property to True for all PivotCaches in the workbook.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.