I have a macro that creates a PivotTable and it works great. The only issue is that it creates the pivot table by calling "Sheet2". If I try to do it again, within the document it gets an error because the next sheet will be sheet3 or sheet4 depending on what other macro has been run.
The section in question is:Please Login or Register to view this content.
I am trying to figure out if I can make it just use the next sheet in line weather it is Sheet2 or Sheet102.Please Login or Register to view this content.
Thanks for any help.
Bookmarks