Pivot table refresh

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

Is it possible to refresh a pivot table through the use of
a macro and command button?

Thanks for any help.
 
From the macro recorder:

ActiveSheet.PivotTables("PivotTable1").PivotCache.Refresh

HTH
Jason
Atlanta, GA
 
Yep. Use this to refresh all pivot tables in the workbook:
ActiveWorkbook.RefreshAll
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top