Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
True if the PivotTable cache or query table can be refreshed by the user. The default value is True. Read/write Boolean.
Syntax
expression.EnableRefresh
expression A variable that represents a PivotCache object.
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
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.