Hi, all. please help woth this problem.
I want to open two file at the beginning of the code, like below, and after the two files are opened, i want to activate one of the file first, and i must write the exactly same name as the workbook name, then i can activate the window. Is there any way so that assign a variable to the workbook name, and any time, i call the variable, it will know which window should be activated.
in this example, the two file name are "PriceList" and "CombinedPriceList". If i change the file name to "PriceList01" and "CombinedPriceList01", then the macro will get error. so i want to overcome this problem.
Any help will be appreciated!
Bookmarks