oleApp = GETOBJECT(, "Excel.Application")It raises OLE error if I do not have instance of Excel.
oleApp.quit
after successful execution of the line above, the visual part of Excel disappears. However if some other instance of another application has a variable that is pointing to the same Excel instance, Excel stays resident - you can see it as a process in Processes list in Task manager of Win2k. So you should check whether oleApp.Visible = .F. oleApp.Workbooks.Count = 0If the above is true you may be sure that the Excel instance do not have documents opened in it and is not visible for the user.
Make solutions, not programs!