I have the below code which copies a sheet called "TestSheet" from another workbook I specify into the workbook where I run the macro onto sheet "CopiedSheet".
However, if the sheet on the other workbook is called something else other than TestSheet it does not work. There is only one worksheet in the other workbook so how do I alter the code to make it work?
Please Login or Register to view this content.
Bookmarks