Hello,
My excel application contains two workbooks, the second one directly created before running the code above.![]()
Please Login or Register to view this content.
If I set a breakpoint before the for-loop and then execute the code, everything works fine. By executing the code in an automated manner, vba does not execute the code inside the if-statement.
Why vba does not find the second workbook, it surely exists.
Thank you very much!
Lloyd
Bookmarks