Hi
I have a macro that adds a new workbook and copies two sheets to it. However the macro crashes if the new workboox is not book1 and it is kind of a bummer.
I have not been able to figure how to code something to just look at the newest workbook and copying the stuff...without vba looking at book1 as the new workbook...just whatever is available.
Here's what I currently have...help appreciated.
Workbooks.Add
Windows("TC Report.xls").Activate
Sheets(Array("ST Report", "EF Report")).Select
Sheets("EF Report").Activate
Sheets(Array("ST Report", "EF Report")).Copy Before:=Workbooks("Book1").Sheets _
(1)
Windows("TC Report.xls").Activate
Sheets("ST Report").Select
Bookmarks