I am trying to change a few measures and row fields for a pivot table on a button click. I've got this working but it is slow as the pivot table seems to refresh after addition of each field and measure.
Manually I can check the "Defer Layout Update" box in the Field List and do multiple changes before updating the layout.
Setting ManualUpdate to False in VBA though doesn't seem to have any impact.
pt.ManualUpdate = False
Is this a PowerPivot limitation?
Is there any other way to speed up this process?
Manually I can check the "Defer Layout Update" box in the Field List and do multiple changes before updating the layout.
Setting ManualUpdate to False in VBA though doesn't seem to have any impact.
pt.ManualUpdate = False
Is this a PowerPivot limitation?
Is there any other way to speed up this process?