Hello, I opened a new file and typed these 2 macros. The first one works the second one the second line does not. It seems I can not use Workbooks("book2")
However; if I change the second line to
The main file I opened is not saved yet. Does that mean if a file saved then I have to use file extension when I call it, for example books2.xlsx ? and if the file is not saved yet, I can call it using the file name without extension, for example book1 ?Please Login or Register to view this content.
Please Login or Register to view this content.
Bookmarks