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

pivot tables

ResolvedVersion 2003

Allister has attended:
Excel VBA Intro Intermediate course

Pivot Tables

How do select an extra columns for your pivot table within your VBA code?

RE: Pivot Tables

Hi Allister

To display extra data on a pivot tables column area you just add an extra field and the the fields positions. For Example:

.PivotFields("Salesperson").Orientation = xlColumnField
.PivotFields("Salesperson").Position = 1

.PivotFields("Make").Orientation = xlColumnField
.PivotFields("Make").Position = 2

Hope this helps

Carlos

 

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:

Quickly Adding New Worksheets

Want to place a new Excel worksheet before current worksheet. Use keystroke SHIFT+F11

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.