I have a work book links to 3 databases(SQL SERVER), and have 3 pivot table related to that 3 databases, then have an other pivot table related to 1 of the 1st layer pivot table, and have an other pivot chart related to 2nd layer pivot table.
DB1 > Pivot1 > Pivot11 > PivotChart111 > MainReportView
DB2 > Pivot2 > MainReportView
DB3 > Pivot3 > MainReportView
Now, because the default refresh is refresh from the lasted pivot chart back to database. I have to use refresh all for more than 3 times to get my final report view update.
1st time refresh: pivotchart111(nochange)> Pivot11(nochange) > Pivot1(nochange) > DB1(change) result: Reportview(Nochange)
2nd time refresh: pivotchart111(nochange)> Pivot11(nochange) > Pivot1(change, detected DB1 changed from step 1) > DB1(nochange) result: Reportview(partially change)
and so on ....
Is there any other way I can tell Excel to refresh all DBs first, then all 1st layer pivot than 2nd layer pivot then 3rd layer pivotchart?
I try to use refresh all VBA, or RefreshPivot VBA but can't solve the problem. Also, I assign RefreshALL macro, but have to click that macro more than 4 times to get my report page update.
THANKS IN ADVANCE!