Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Close and Exit Excel

Jeff,

Try setting the object to nothing in order to destory it.
Something along the order of :

Set myxl = CreateObject("Excel.Application")
' your code here - save and close then
myxl.Application.Quit
Set myxl = Nothing

I think the should do it
Regards,
Mike

-----Original Message-----
I don't know if there is a statement in VBA to close and
exit Excel. I am able to close my workbook using
the 'close' statement, but I leaves excel running. I
would like a complete exit of excel and have the machine
return to the desktop.
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I close all workbooks and exit excel with one click? Glen@DFR Excel Discussion (Misc queries) 5 July 10th 08 03:46 PM
Close vs. Exit in 2007 JBneedshelp Excel Discussion (Misc queries) 1 July 7th 08 09:16 PM
Excel shoud not close all active books when clicking close button technomike Excel Discussion (Misc queries) 0 June 10th 05 05:35 PM
Close and Exit Excel Stephan Kassanke Excel Programming 3 September 8th 03 05:30 PM
Close or Exit application Jeff[_20_] Excel Programming 0 September 8th 03 03:18 PM


All times are GMT +1. The time now is 09:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"