Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How do I close out of Excel completely? I've tried this:
Sub Macro1() ' ' Macro1 Macro ' Save and close workbook ' ActiveWorkbook.Save ActiveWorkbook.Close this only closes the active workbook and I need to close Excel completely. thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
ActiveWorkbook.Application.Quit
Seems to do the trick. "Ralph" wrote: How do I close out of Excel completely? I've tried this: Sub Macro1() ' ' Macro1 Macro ' Save and close workbook ' ActiveWorkbook.Save ActiveWorkbook.Close this only closes the active workbook and I need to close Excel completely. thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub Macro1()
ActiveWorkbook.Save Application.Quit End Sub Gord Dibben MS Excel MVP On Sat, 31 Jan 2009 10:49:02 -0800, Ralph wrote: How do I close out of Excel completely? I've tried this: Sub Macro1() ' ' Macro1 Macro ' Save and close workbook ' ActiveWorkbook.Save ActiveWorkbook.Close this only closes the active workbook and I need to close Excel completely. thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 cannot close | Excel Discussion (Misc queries) | |||
Excel 2007 doesnt close | Excel Discussion (Misc queries) | |||
Excel 2007 very slow to open or close | Excel Discussion (Misc queries) | |||
Excel 2007 Close problem | Excel Discussion (Misc queries) | |||
Close All in excel 2007 | Excel Discussion (Misc queries) |