Forum 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
For upcoming training course dates see: Pricing & availability
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.
|
