>It happans when you try to close an excel workbook manually and microsoft has recognized the problem
Yes, it does need some extra checking from VFP to see if it's still alive. I don't have the problem because I'm not showing Excel at all. Actually, this can be a workaround: do all you need with an invisible instance of Excel, close(1) it and then run it again as an external process (using run /n, not automation). This way you have one process which is completely under your controll, and when you're done it, you make another one that you give to the user to do whatever he wants.