Remarks

Each memory cache is represented by a object.

Example

Use the method to return the collection. The following example sets the property for all memory caches in the active workbook.

Visual Basic for Applications
For Each pc In ActiveWorkbook.PivotCaches pc.RefreshOnFileOpen = True Next
Pivot Caches Collection Object PivotCaches Collection PivotCaches Collection Object PivotCaches Collection?

See also: