The Excel instance, from what I understand, is a completely different thread.
>oHoldIt = createobject("stop_user_with_modal_form")
ok...
>oHoldIt.Show() && user can not do anything in VFP at this point
ok...
>oExcel.Do_some_stuff
ok...
>oExcel.do_more_stuff
ok...
>oExcel.Finished
Hold it. What do you mean? How do you know when Excel is finished? The only way I know of is to set up a loop that polls Excel for its status code, and jumps out when it reads ready (althogh I know you can do this, I don;t recall the OLE function)Erik Moore
Clientelligence