语法
表达式.PivotCaches
表达式 一个代表 Workbook 对象的变量。
返回值PivotCaches
示例
本示例使工作簿每次打开时自动更新数据透视表缓存。
ActiveWorkbook.PivotCaches().Item(1).RefreshOnFileOpen = true