MrExcel Publishing
Your One Stop for Excel Tips & Solutions

Closing Excel After Marco Executes


Posted by Todd on August 16, 1999 9:48 AM

I have a macro that runs automatically. When it finishes, Excel does not close. Does anyone know how I can get it to close automatically? Thanks.


Posted by Chris on August 18, 1999 6:51 AM

Enter this code at the end of the macro:

Application.DisplayAlerts = False
Application.Quit

Chris