Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot + Macro
I want to write a macro to generate a pivot table from a data source. However, after I record the macro, I find that it cannot run porperly when the dimension of the data source is changed. Please help me to solve this problem. Thanks. -- hurriance ------------------------------------------------------------------------ hurriance's Profile: http://www.excelforum.com/member.php...o&userid=30882 View this thread: http://www.excelforum.com/showthread...hreadid=519645 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot + Macro
Maybe you can use a dynamic range name to point at your data:
See Debra Dalgeish's site for some nice tips: http://contextures.com/xlNames01.html#Dynamic hurriance wrote: I want to write a macro to generate a pivot table from a data source. However, after I record the macro, I find that it cannot run porperly when the dimension of the data source is changed. Please help me to solve this problem. Thanks. -- hurriance ------------------------------------------------------------------------ hurriance's Profile: http://www.excelforum.com/member.php...o&userid=30882 View this thread: http://www.excelforum.com/showthread...hreadid=519645 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Worksheet Functions | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Discussion (Misc queries) | |||
macro for a pivot | Excel Discussion (Misc queries) | |||
Pivot...and macro. | Excel Programming | |||
Steps from Macro recorder for Pivot table will not run as a Macro | Excel Programming |