Dear SHG,
I’m sorry for giving you hard time, the reason is my English is no good enough.
What I need is to take from open but not active Excel file some data & paste to master file.
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. In this case I know source file name & I can use in macro that file name to activate it, but next time source file will have different name, let say “Items-62.xlsx”, so it will be not good idea each time make source file name changes in macro. I need macro which will activate any Excel file with different names with same macro.
Thanks again for your help & patient.