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

pivot tables

ResolvedVersion 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.

Excel tip:

Trace Dependents / Precedents without the blue arrows

Rather than using the toolbar you can press CTRL+] which is the equivelent of trace dependants and CTRL+[ for precendants. Both of these ways though will not show the blue arrows but jump to the cell containing the formula.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.