I have to 2 process excel. For example:
1) example1.xlsx 2) example2.xlsx
How to kill first \"example1.xlsx\"?
I use this code:
f
kd7's post is an awesome answer and works well, just two things to add,
MainWindowTitle format is - "Filename.xlsx - Excel"
MainWindowTitle
"Filename.xlsx - Excel"
If your excel document is not visible then your MainWindowTitle will be "" using the "" for MainWindowTitle will kill all zombie excel process'.
""