Dear All,
I have an external connection which fetches data from an external OLEDB connection. After the data is fetched I need to refresh few other pivots to reflect the fetched data.
Now I have the code
Sub Workbook_RefreshAll()
ActiveWorkbook.RefreshAll
End Sub
But with this it updates the connections but NOT the pivot tables. I can not uncheck the option of "Enable background refresh". It is greyed out. Could you please help? Need to fix this with a better solution than refreshing manually all pivots or running the Refresh All code twice.
Regards
Kaushik
Bookmarks