VBA to refresh all pivot tables
Solved/Closed
Fwong
Posts
11
Registration date
Friday 15 May 2015
Status
Member
Last seen
5 June 2015
-
5 Jun 2015 à 03:22
Fwong Posts 11 Registration date Friday 15 May 2015 Status Member Last seen 5 June 2015 - 5 Jun 2015 à 04:17
Fwong Posts 11 Registration date Friday 15 May 2015 Status Member Last seen 5 June 2015 - 5 Jun 2015 à 04:17
Related:
- Refresh pivot table vba
- How to refresh outlook - Guide
- Vba find - Guide
- How to refresh calendar on mac - Guide
- Vba case like - Guide
- How to refresh whatsapp - Guide
1 response
Fwong
Posts
11
Registration date
Friday 15 May 2015
Status
Member
Last seen
5 June 2015
5 Jun 2015 à 04:17
5 Jun 2015 à 04:17
Hi,
I think I got the macro to do this:
Sub RefreshAll()
Dim pvt As PivotTable
dim sh as Worksheet
for each sh in Worksheets
For Each pvt In sh.PivotTables
pvt.RefreshTable
Next pvt
next sh
End Sub
Thanks,
I think I got the macro to do this:
Sub RefreshAll()
Dim pvt As PivotTable
dim sh as Worksheet
for each sh in Worksheets
For Each pvt In sh.PivotTables
pvt.RefreshTable
Next pvt
next sh
End Sub
Thanks,