Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PivotTables - Refresh Problem

Status
Not open for further replies.
Dec 23, 2004
33
US
My pivot table does not refresh after I run the macro. However, if I put a stop in the marco, and run it manually..the pivot table get updated. I've tried many times but I could not figure it out how this is possible.

......
Sheets("Sheet1").select
ActiveSheet.PivotTables("PivotTable1").PivotCache.Refresh
......

Thanks.




 
I have about 10 pivot tables in this program. They all refresh when the data is updated, except for the one I mentioned. All the field names are the same during the process.
 
Welcome to Tek-Tips. To get the best answers read faq222-2244 which gives some guidelines on overall forum usage.

At the top of the page is a Find a Forum search box. You will do better with VBA specific questions in the VBA forum forum707 as this forum is specifically for VB5/6 issues

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'

for steam enthusiasts
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top