This documentation is archived and is not being maintained.

EnableRefresh Property [Excel 2003 VBA Language Reference]

Office 2003

True if the PivotTable cache or query table can be refreshed by the user. The default value is True. Read/write Boolean.

Remarks

The RefreshOnFileOpen property is ignored if the EnableRefresh property is set to False.

For OLAP data sources, setting this property to False disables updates.

Example

This example sets the first PivotTable report on worksheet one so that it cannot be refreshed.

Worksheets(1).PivotTables("Pivot1") _
    .PivotCache.EnableRefresh = False
		




Show: