I am currently using a macro to copy a sheet from a closed workbook in to my current workbook. However this copying is based on the sheet name. At present when I run the following code
It does exactly what I want. However if I specify to run the macro again with the same sheet name to be copied I get an error ""Cannot rename a sheet to the same name as another sheet" however I want to be able to overwrite the sheet with the data. How would I edit the macro code to be able to overwrite?
Thanks for any help
Bookmarks