I am using the code below to copy a hidden worksheet (the name of the existing worksheet is being passed to the subroutine), and places it at the far right of the other sheets. It then renames a cell and the sheet name. It also makes it visible and makes it the active sheet.
When the WrkSht.Copy line is executed, I get a pop-up notification window that says, "A sheet you want to move or copy contains the name 'RecipeName', which already exists in the destination worksheet. Do you want to use this version of the name? blah blahblah..."
How do I fix it so this does not pop up anymore? What do I need to do with 'RecipeName' to fix this?
Here is the code:
Moderators Note: Please follow Forum Rule #3 and use code tags. Added this time, but please use them in the future…Thanks.Please Login or Register to view this content.
Bookmarks