Hi all,
I have what is hopefully a fairly straight forward question that I am hoping someone can help me out with.
I am developing a macro that is stored in my Personal Macro Workbook, hence it can be run on any workbook with any naming convention. I would like it to do the following:
1) Launch the macro whilst in a workbook, the name of which is random
2) Open C:\Folder\Example.xls
3) Return to the original workbook
It is step 3 that i am having trouble with, as the filename could be something different every time.
Any help would be appreciated.
I have what is hopefully a fairly straight forward question that I am hoping someone can help me out with.
I am developing a macro that is stored in my Personal Macro Workbook, hence it can be run on any workbook with any naming convention. I would like it to do the following:
1) Launch the macro whilst in a workbook, the name of which is random
2) Open C:\Folder\Example.xls
3) Return to the original workbook
It is step 3 that i am having trouble with, as the filename could be something different every time.
Any help would be appreciated.