baconfortek
Technical User
In the last couple of weeks I have begun having trouble with application.quit not actually shutting down Excel. The very simplified code below leaves Excel running on two computers and completely closes Excel on two different computers.
Besides Application.Quit, each of the other lines was added at the suggestion of various other threads on Excel failing to quit. Any ideas for what to try next?
Code:
Sub closeMe()
Application.DisplayAlerts = False
ThisWorkbook.Save
ActiveWorkbook.Saved = True
Application.Quit
Exit Sub
End Sub