Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I close all workbooks and exit excel with one click? | Excel Discussion (Misc queries) | |||
Close vs. Exit in 2007 | Excel Discussion (Misc queries) | |||
Excel shoud not close all active books when clicking close button | Excel Discussion (Misc queries) | |||
Close and Exit Excel | Excel Programming | |||
Close or Exit application | Excel Programming |