
This tutorial explains how to use Excel VBA to refresh all Pivot Table or Pivot Cache, and difference between PivotCache.Refresh and PivotTable.RefreshTable
You may also want to read:
Excel VBA refresh closed workbook
Excel automatically refresh pivot table
Excel VBA refresh all Pivot Table or Pivot Cache
Understanding difference between Pivot Table and Pivot Cache
To start with this topic, you should note the relationship and difference between refresh Pivot Table and Pivot Cache.
...
Read More