Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Excel VBA working in the current instance of Excel,
Application.Quit will close all workbooks and close Excel. If you are calling it from using Excel as an automation server, then if there is an existing reference to Excel that hasn't been released, excel will continue to be visible in the task manager. In the first case, there may be things that could cause Excel not to close, but the normal behavior is for Excel to close. -- Regards, Tom Ogilvy "Jeff" wrote in message ... -----Original Message----- Jeff wrote: 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 Application.Quit? cheers, Stephan. . Application.quit closes the file but leaves excel running, as well as the VB editor, although the editor may be incidental, due to my use of the editor. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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) | |||
why do all excel worksheets/workbooks close when I close one? | Excel Discussion (Misc queries) | |||
Excel shoud not close all active books when clicking close button | Excel Discussion (Misc queries) | |||
excel - Windows close button (x) should only close active workboo. | Setting up and Configuration of Excel |