Hi
I have a sheet named "PivotTable" with data and its pivot table in it. I have date on another sheet and link it to "PivotTable" sheet. I use the following code to refresh the pivot table whenever I change date in another sheet. The code is embedded in "PivotTable" sheet and it works:
But then I want to wait for three seconds before refreshing the pivot table using the Waiting command like this:
Excel will keeping calculating/waiting forever until I press Esc, and then the debug will pop up and highlight the last line in yellow:
Any idea why this is the case, did I misuse the waiting command?
Thank you.
Bookmarks