Skip,
Thanks for that suggestion, it switched my brain on and started me thinking.
I had it in a module but moved it to the workbook object and it worked fine.
Thanks for the help.
Cheers
Kym
I have tried to use the code below to update a number of Pivot tables in a workbook.
However I get the error message "Reference is not valid" when the macro gets to the code "pt.refreshTable".
I have tried different statements but still not able to get past this error - any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.