Hi guys
I wonder if anyone can help.
I am trying to close a single excel window using the below code, however it doesn't seem to be doing anything. It works if I want to close say a notepad window, but not Excel.
Alternatively, I could use "ActiveWindow.Close", if somehow it could find another instance of excel that is open.
If excel has opened another program of excel, I cannot use "Windows("text work.csv").Activate" to find the workbook. If there is another way to activate it, then this could work?
Thanks to anybody that can help me.
Bookmarks