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

vba courses london - how do i create

Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - How do I create a pivot table?

vba courses london - How do I create a pivot table?

ResolvedVersion Standard

Yasmina has attended:
Excel VBA Intro Intermediate course

How do I create a pivot table?

pivot table

RE: How do I create a pivot table?

Yasmina,
The best way to start is to create the pivot table you want, using the Pivot Table Wizard (on the Data menu), recording a macro as you go. You can then tidy up the recorded code---for example to pick up named ranges.

For example, this creates a pivot table on a new sheet called "PT Orders":

Sub Pivot_Table_Orders()
'
' Modified version
'
Dim pvc As PivotCache

 

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.

VBA tip:

Use GoTo to Select A Cell With VBA

To select a certain cell on a Worksheet you can use:

Application.Goto Reference:=Range("V300")

or more simply

Range("V300").Select

If, on the other hand, you want the selected cell to be the top/left cell on the screen you use:

Application.Goto Reference:=Range("V300"), Scroll=True

View all VBA hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.