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 Mon 3 Nov 2008, 16:27Delegate Stephen said...

Stephen has attended:
Excel VBA Intro Intermediate course
Excel Advanced course

Pivot Tables

How can I remove unwanted items from pivot tables

For upcoming training course dates see: Pricing & availability

replyReply Thu 20 Nov 2008, 10:37Trainer Carlos said...

RE: Pivot Tables

Hi Stephen

In VBA to set a Pivot Field in the Page Section of the Pivot Table you write:

ActiveSheet.PivotTables("SalesInfo").PivotFields ("Salesperson").Orientation = xlPageField

To remove it from the area so a new field can replace it you write:

ActiveSheet.PivotTables("SalesInfo").PivotFields ("Salesperson").Orientation = xlHidden

Hope this helps

Carlos

Thu 27 Nov 2008: Automatically marked as resolved.

 

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

Excel tip:

Adding up time greater than 24 hours

When you add up time if it exceeds 24 hours i.e 27 hours appears as 03:00. Go to Format / Cells / Number / Custom. The format is hh:mm but if change it to [hh]:mm it will add up to the correct amount of hours.

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