Share via


PivotCache.UpgradeOnRefresh Property

Excel Developer Reference

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

Version Information
 Version Added:  Excel 2007

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 version 2007 (PivotTable.Version = 3) as part of the refresh.

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 file format, when in compatibility mode, will set this property to True for all PivotCaches in the workbook.

See Also