Sorry for this very basic level question putting here. I tried to search on the forum and Gooble but no luck!
What I just want to do is, if a specific excel document is already open then it should be activated. If it is not open then it shoud be open and then activated.
Below is the code which I am using as of now. Which is opening the document everytime.
Please help. Thanks in advance.
Code: Select all
Ins:: InputBox, var1, , Enter project,,,,,,,, .prj 1 Sleep, 200 Run, %A_Desktop%\%var1%\Standard Format.xls Sleep, 300 Return