Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
MMM MMM is offline
external usenet poster
 
Posts: 14
Default Macro on a Pivot Table run on changing data

Hello, I am trying to run a macro to create a pivot table on a set of data
where rows will be added. When I add rows the pivot is run only on the exact
# of rows that were originally there. I need to be able to add data and
automate it via the macro.
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Macro on a Pivot Table run on changing data

Change the data tables source range to a dynamic named range. Check out this
link on creating such a range...

http://www.cpearson.com/excel/named.htm
--
HTH...

Jim Thomlinson


"MMM" wrote:

Hello, I am trying to run a macro to create a pivot table on a set of data
where rows will be added. When I add rows the pivot is run only on the exact
# of rows that were originally there. I need to be able to add data and
automate it via the macro.
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
changing Pivot table name via macro Sandip[_2_] Excel Programming 3 August 22nd 06 04:36 PM
Changing a pivot table page or data set by using a macro [email protected] Excel Programming 1 June 16th 05 01:01 AM
Changing pivot table views with a macro Roberto Hernandez Excel Programming 0 March 8th 05 04:45 PM
changing pivot table views with a macro Baileys Cigs Excel Programming 2 February 2nd 05 08:29 PM
Changing field in Pivot Table with macro hans Excel Programming 0 June 23rd 04 09:17 AM


All times are GMT +1. The time now is 02:40 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"