pivot tables

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

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

Pivot Tables

resolvedResolved · Low Priority · Version 2003

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

Pivot Tables

How can I remove unwanted items from pivot tables

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.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 


Server loaded in 0.08 secs.