Good afternoon everyone,

I can't figure this out:

I have a VBA code that operates on two workbooks that we receive by email. One workbook always has the same name; the other workbook name always changes. The code needs to start on the workbook with the unknown name. In other terms, the code should represent:


If activeworkbook.name = "Knownworkbookname" then Unknownworkbook.activate


Thank you for any help.