Good afternoon and a happy Friday to all
I have worksheet named "work plan" within a workbook which contains excel formula. I have a macro which copies the sheet "work plan" and creates a new sheet called "work plan copy" but only pastes the values and format (excluding all formula). Now I have two separate issues which for the life of me I just cannot solve....
a). I keep getting an error message 'Runtime ERROR 1004' 'Pastespecial method of range class failed', even though the information gets pasted, all be it unformatted.
b). Is there some code I can add to my existing macro, that will allow me to replace or update the "work plan copy" sheet whenever the macro is executed? Currently I get an error message saying that the sheet "work plan copy" already exists, without an option to overwrite it.
Here is my code below
Thanking you for any help in advance.
Cheers
Ivor
Bookmarks