Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Excel VBA
Excel VBA
Resolved · High Priority · Version 2003
Tony has attended:
Excel VBA Advanced course
Excel VBA
What is the code to activate a drop down in the 'page' section of a pivot table, then choose an item from the list?
For upcoming training course dates see: Pricing & availability
RE: Excel VBA
Hi Tony, thanks for your query and apologies for the delay. If you had a "Model" field in the page section, you'd manipulate it and choose the "Corvette" option like so:
ActiveSheet.PivotTables("PivotTable1").PivotFields("Model").CurrentPage = "Corvette"
Hope this helps,
Anthony
Thu 18 Aug 2011: Automatically marked as resolved.
|
