Hi, I am creating a VBA to create a new workbook and copy a worksheet into it. I have the following code I got off youtube, which works for the first time, but when I repeat it gets an error because the code says "book1" and new book is Book2 etc
I would also like to name the the new workbook from a combination of set term and a variable, the code I have for this is the following:Please Login or Register to view this content.
I would like to do this all together if possible, create new workbook by the above naming and then copy a worksheet into it.Please Login or Register to view this content.
cheers Rob
Bookmarks