Edit

Share via


PivotCache.UpgradeOnRefresh Property

Definition

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

public:
 property bool UpgradeOnRefresh { bool get(); void set(bool value); };
public bool UpgradeOnRefresh { get; set; }
Public Property UpgradeOnRefresh As Boolean

Property Value

Boolean

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 any attached PivotTables. They all stay the same version as before the refresh.

Saving to a short_Excel2007 file format, when in compatibility mode will set this property to True for all PivotCaches in the workbook.

Applies to