View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Closing Excel from VBA

Hi
normally
application.quit
should work. what is the code you have tried (have you eventually tried
to close the workbook prior to this statement?)

--
Regards
Frank Kabel
Frankfurt, Germany

"Jimmy" schrieb im Newsbeitrag
...
Hello,

Have a macro that emails out certaing information and
would like to closed or Exit Excel once code is executed.
Right now I have a Mssage box that let's the user know it
finished emailing the information but it advises the user
to please close excel.

Only one excel spreasheet opened and tried the
Application.Quit but that does not closes Excel.

Any ideas?

Thanks in advance!
Jimmy