Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changing Pivot Range Programatically
Hi,
I'd like to change the range of cells that a pivot table is referring to in code. Right now, when I record a macro to do this, the resulting code utilizes the pivot wizard but I've got to believe that there's a more direct way to do this. Thanks much, Reney |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Changing Pivot Range Programatically
Use SourceData
PivotTableObj.SourceData = "NewlyResizedRangeName" "Reney Langlois" wrote in message ... Hi, I'd like to change the range of cells that a pivot table is referring to in code. Right now, when I record a macro to do this, the resulting code utilizes the pivot wizard but I've got to believe that there's a more direct way to do this. Thanks much, Reney |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Changing font color of protected cells programatically | Excel Discussion (Misc queries) | |||
Programatically deleting Range | Excel Programming | |||
Changing what is displayed in an image control programatically | Excel Programming | |||
Changing Pivot Table Range | Excel Programming | |||
Rename a Range, programatically? | Excel Programming |