>[SNIP]
>and the release x needs 2-3 seconds to execute.
>
>When I deleted the "release x" line, the form releases intantly.
>
>Do I miss anything? The excel's process is released correctly (i can't see it anymore in task manager).
>
>But if I execute in command window:
>
>>x = createobject("excel.application")
>x.quit
>
>
>the process isn't released.
>
>Any help, please? How to write the code to release fast and safe the process?I don't see that.
The following takes about 0.70 seconds for me.
clear
? Seconds()
x = createobject("excel.application")
x.quit
x=null
? Seconds()