excel vba pivot table refresh all code example Example: excel vba Refreshing all pivot tables in workbook ThisWorkbook.RefreshAll