ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Halt recalculation (https://www.excelbanter.com/excel-programming/321209-halt-recalculation.html)

ojv[_2_]

Halt recalculation
 
In looping through a large pivot table and setting the visible property for
given items causes the pivot table report to recalculate each time something
is done, consuming time. How can I turn this off while looping and then make
it recalculate when finished?

I've tried setting
Application.Calculation=xlManual and
PivotTables(i).ManualUpdate=True

before starting the loop without success. any help appreciated.

ojv


All times are GMT +1. The time now is 07:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com