Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Code for a Macro that allows a Pivot table to be repeatedly run (fora dynamic rows in a table, but static field names)

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!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Code for a Macro that allows a Pivot table to be repeatedly run (for a dynamic rows in a table, but static field names)

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
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Mike C" wrote in message
...
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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Field Names bamataylor Excel Discussion (Misc queries) 0 February 3rd 10 04:07 PM
Pivot Table field names don't match Access Joe Excel Discussion (Misc queries) 1 January 17th 09 04:05 AM
Pivot Table - Dynamic Field carlyman Excel Discussion (Misc queries) 3 August 26th 05 12:05 AM
Pivot table field names somewhat confused Excel Worksheet Functions 1 December 14th 04 03:15 AM
Setting Pivot Table Page Field Names using VBA Ron McCormick[_2_] Excel Programming 0 November 7th 03 10:35 AM


All times are GMT +1. The time now is 06:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"