98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Pivot Tables
Pivot Tables
Resolved · 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 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
Any suggestions, questions or comments? Please post in the Improve the forum thread. |