Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Pivot Tables
Pivot Tables
Resolved · Low Priority · Version 2003
Kayleigh has attended:
Excel VBA Intro Intermediate course
Pivot Tables
Is it possible to stop a pivot table re-formatting each time it is refreshed?
Thanks,
Kayleigh
For upcoming training course dates see: Pricing & availability
RE: Pivot Tables
Hi Kayleigh
Thank you for your question
I would suggest writing the code that formats your pivot table in a separate procedure. You can then call this after the pivot table is created. You could also then call it after your pivot table is refreshed and this would add back in any missing formats.
The following code will refresh an existing pivot table
ActiveSheet.PivotTables("PivotTable1").PivotCache.Refresh
regards
Stephen
Mon 1 Jun 2009: Automatically marked as resolved.
|
