Hi AB33,
Coming back to you re your suggested code changes...
This line doesn't appear to be causing any problems in as much as it isn't tripping the code up and both seem to work, but happy to use the correct code.
neither did changing it to this
I tried changing the line below in red with the one you suggested (in blue), but this generates a 'Run-time Error '1004' - Unable to get the TableRange2 Property of the PivotTable Class, so I'm unsure if I have not done this correctly?
I also tried changing this
to this
as per your suggestion (although maybe again I'm doing something wrong), but I am getting the same 'Run-time '1004' - Clear Method of Range Class Failed' error.
This is where I am now completly stuck with the code. I'm sure I'm missing something simple and obvious but any help would be gratefully appreciated to get this running correctly.
Many thanks
Bookmarks