View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default What is the VBA command to terminate the Excel.exe process

Hi Orenr,

Try:

Application.Quit

---
Regards,
Norman


"orenr" wrote in
message ...

I am trying to set a schedule task that will run Excel VBA macro. The
issue is that after the schedule task run once succesfully, it can't
run again because the Excel.exe process is still running. The question
is how can I terminate the Excel.exe process by using the VBA command


--
orenr
------------------------------------------------------------------------
orenr's Profile:
http://www.excelforum.com/member.php...o&userid=29912
View this thread: http://www.excelforum.com/showthread...hreadid=496113