title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
PivotCache.EnableRefresh property (Excel) |
vbaxl10.chm227075 |
|
|
5919198f-bb4a-eb54-1a28-41033b525fa1 |
05/03/2019 |
medium |
True if the PivotTable cache or query table can be refreshed by the user. The default value is True. Read/write Boolean.
expression.EnableRefresh
expression A variable that represents a PivotCache object.
The RefreshOnFileOpen property is ignored if the EnableRefresh property is set to False.
For OLAP data sources, setting this property to False disables updates.
This example sets the first PivotTable report on worksheet one so that it cannot be refreshed.
Worksheets(1).PivotTables("Pivot1") _
.PivotCache.EnableRefresh = False
[!includeSupport and feedback]