Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Change PivotTable Field By Code
Here is the situation:
Every worksheet has 12 pivottables for 12 months. ActiveSheet.PivotTables("PivotTable1").PivotFields ("Jan-06") ActiveSheet.PivotTables("PivotTable1").PivotFields ("Feb-06") I want to re-use this model for 2007. How could I update the PivotFields to ActiveSheet.PivotTables("PivotTable1").PivotFields ("Jan-07") ActiveSheet.PivotTables("PivotTable1").PivotFields ("Feb-07") Thanks in advance. H.Z. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using a field name in an IF function for a calculated field in a PivotTable | Excel Worksheet Functions | |||
Pivottable Field items code -problems | Excel Programming | |||
How do I use a keyboard to change a PivotTable or delete a field? | Excel Discussion (Misc queries) | |||
How do I use a keyboard to change a PivotTable or delete a field? | Excel Discussion (Misc queries) | |||
PivotTable - PivotTable Field name is not valid - error! | Excel Programming |