By using expertatexcel.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

Become an Σxpert at Σxcel.com

 


Quit Excel- Application.Quit

This statement allows you to shut down the currently running instance of Excel.

Application.Quit

You'll be prompted to Save the file it's been changed since the last save.

To quit without asking you to answer a dialog.


Application.DisplayAlerts = False
Application.Quit


Usage

This is useful for a Batch process that starts up, does some work and then exists.