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

excel vba

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

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.

 

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:

Difference between Two Dates

The DATEDIF function computes the difference between two dates. The DATEDIF function is as follows:

=DATEDIF (Date1,Date2,Interval)

Please note that Date1 must be less than (earlier) or equal to Date2

Please note that Interval must be one of the following codes: "d" (in days), "m" (in months), "y" (in years) expressed in quotes


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.