pivot tables
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Pivot Tables

Pivot Tables

resolvedResolved · Low Priority · Version 2003

replyReply Fri 22 May 2009, 16:27Delegate Kayleigh said...

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

replyReply Tue 26 May 2009, 10:24Trainer Stephen said...

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.

 

Please browse our web site to find out more about
microsoft+excel+course and other Microsoft training courses.

Excel tip:

Closing Multiple Open Worksheets At Once

When multiple Excel worksheets are opening, rather than performing a File > Close menu option multiple times, hold down the the SHIFT key and select the File > Close All menu option.

Close All menu option is only displayed when Shift key is down

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard