Thank you Alan for reply.
Let say my master file name is “Master.xlsm” & it is active. There is another source excel file with name “Items-2021.xlsx” which is open but not active. I would like activate this file & take some data from it. The problem is that next time source file will have different name, let say “Items-62.xlsx”, so it will be not good idea each time to make source file name changes in macro. I need macro which will activate any file with different names with same macro.