Code for a Macro that allows a Pivot table to be repeatedly run (fora dynamic rows in a table, but s

  • Thread starter Thread starter Mike C
  • Start date Start date
M

Mike C

Hello - Any chance anyone has some code available that would allow me
to create a pivot table for a range of data that changes?

I run the pivot by grouping the same fields in the table, but the
number of rows in the data set is different each day.

Thanks for any help you can provide.

Even if the code doesn't fix my problem exactly, it will still be nice
to see what code you have available, so that I can learn from it.

Thanks!
 
If you use a dynamic range for the pivot table source data, or a List in
Excel 2003, or a Table in Excel 2007, all you need to do is refresh the
pivot table by clicking on the "!" button. No code needed.

- Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top