I have a bunch of pivot tables in my workbook in every sheets. is there a vba code to just refresh all the pivot table or do i just have to do it to each indivual one when I update my data?
thanks
I have a bunch of pivot tables in my workbook in every sheets. is there a vba code to just refresh all the pivot table or do i just have to do it to each indivual one when I update my data?
thanks
[vba]
Dim sh As Worksheet
For Each sh In ActiveWorkbook.Worksheets
sh.RefreshAll
Next sh
[/vba]
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
thank you