Suggestions, Tips or Tricks to writing code for Pivot Tables?

USAMax

Well-known Member
Joined
May 31, 2006
Messages
843
Office Version
  1. 365
Platform
  1. Windows
I have written Excel VBA for years but never for creating Pivot Tables, I will be starting a new project that requires Pivot Tables. Can anyone suggest a good article or a good link for general pivot table tips and tracks using VBA? I have Excel 2010.

Thank you!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I found that the best way to get started it to record doing simple things and then using the help to examine the objects that it is using. The code written by the recorder is verbose and not very generalized. But you can look at the parameters and see what it is doing and then make it more general.

I have read many VBA programming books and usually find the depth stops right about where I wish it would start.
 
Upvote 0
Thank you Par60056,

That is my plan when I get into the work but I had hoped to prepare a little before they give me the work. My favorite saying is, "People don't plan to fail, they fail to plan." so I am just thinking ahead.

Thank you again!
 
Upvote 0
Since you are going to be working in 2010, there are a lot of things that are new to pivot tables. Coding the pivot table features is not hard. Learning all the things you can do in the pivot table is. I would not be worried about learning the VBA but try finding good references to the changes in pivot tables in 2007 and 2010. 2007 changed some things and 2010 lots of new features (I don't use them yet so I can't explain them)
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,794
Members
449,468
Latest member
AGreen17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top