Hi all
I write a small code for monitoring an excel window.
From a form ,i create an object oExcel (public) with createobject ,put a timer (interval=100 ms) and test in the timer event: If the excel window diseappear, i output a messagebox.
if vartype(oExcel)#"O" or isnull(oExcel)
messagebox("Excel was closed!",0+32+4096)
else
wait window("oExcel lives yet...!") nowait
endi
I close manually excel but the timer not see anything and continous to monitoring .....believe oExcel lives yet.
Who is wrong ?
I solve this question by the excel title (see the thread N°186837)