OLAP-PivotTable : How to defer update when changing in VBA several RowFields and/or PageFields

Eric_FR

New Member
Joined
Feb 16, 2022
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hello, Do someone know how to do it in VBA (like in GUI) - To start to defer update, make all fields changes, and at the end only apply all updates at once.
- PivotTable property 'ManualUpdate' : dont work for OLAP-PivotTable as it does for Standard-PivotTable
- And by default OLAP PivotCache update at each field change. Which can be quite slow, when you want to apply several field-changes at the same time

We're stilll using EXCEL-2016 at my Office. But test it also with EXCEL-2021 = same behavior.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,214,833
Messages
6,121,861
Members
449,052
Latest member
Fuddy_Duddy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top