Macro to close Excel 2007
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
|