LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Dynamically Changing Pivot Data Fields with a Macro

Howdy,

I am working on a rolling forecast. Every month I need to drop off one
month and add another. My source data is in a list (using excel 2003),
and I have a macro to add the next month within the list, and then
refresh the pivot table so that the information is available for the
pivot.

My need is to have the pivot show only the last two months, in
addition to the upcoming twelve. For example: Right now if I am doing
the July 08 forecast I need to go to the pivot and manually drop April
08, and add June 09. I would like to program a Macro to read the
source data headers and only put in the 14 months that I need. Any
help would be awesome.

Thanks in advance.
 
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
Help with Dynamically changing Range in Excel Macro runsrealfast Excel Discussion (Misc queries) 4 July 16th 07 10:44 PM
Pivot Table Macro not inserting all data fields [email protected] Excel Discussion (Misc queries) 0 October 27th 06 04:55 AM
Dynamically changing print areas for Pivot Tables Todd1 Excel Discussion (Misc queries) 1 August 17th 06 02:55 AM
Dynamically changing several pivot tables at once Jason Excel Discussion (Misc queries) 3 December 16th 05 03:50 PM
Dynamically changing a calculated field in Pivot Table Rick[_19_] Excel Programming 4 November 7th 03 04:46 AM


All times are GMT +1. The time now is 08:09 AM.

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

About Us

"It's about Microsoft Excel"