Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Any way to enable the 2007 pivot table option Defer Layout Update with VBA?
I'd really like to do the following to try and speed things up a little.
With .PivotTables("MyPivotTable") '.DeferLayoutUpdate = True .PivotFields("Field1").Orientation = xlRowField .PivotFields("Field2").Orientation = xlColumnField .AddDataField .PivotFields("Field3"), "", xlSum '.DeferLayoutUpdate = False End With I'm currently turning screen updating off but am hoping that deferring layout update might speed things up a little as well. Thanks, Jeremy |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Any way to enable the 2007 pivot table option Defer Layout Update with VBA?
Figured it out. Looking through the object model is actually worth while
some times. :-P With Sheet1.PivotTables("MyPivotTable") .ManualUpdate= True .PivotFields("Field1").Orientation = xlRowField .PivotFields("Field2").Orientation = xlColumnField .AddDataField .PivotFields("Field3"), "", xlSum .ManualUpdate= False End With "GollyJer" wrote in message ... I'd really like to do the following to try and speed things up a little. With .PivotTables("MyPivotTable") '.DeferLayoutUpdate = True .PivotFields("Field1").Orientation = xlRowField .PivotFields("Field2").Orientation = xlColumnField .AddDataField .PivotFields("Field3"), "", xlSum '.DeferLayoutUpdate = False End With I'm currently turning screen updating off but am hoping that deferring layout update might speed things up a little as well. Thanks, Jeremy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot Table Layout | Excel Worksheet Functions | |||
how to enable data option on a pivot table | Excel Discussion (Misc queries) | |||
Pivot Table Layout | Excel Discussion (Misc queries) | |||
pivot table layout | Excel Discussion (Misc queries) | |||
Pivot Table Layout Help | Excel Discussion (Misc queries) |