Quits the Access application.
DoCmd.Quit [Options]
where Options is an AcQuitOption constant that determines how changes are handled. Possible values are acQuitPrompt, acQuitSaveall (the default), and acQuitSaveNone.
The Quit method has been retained for compatibility with Access 95. The recommended method of quitting an application is to call the Quit method of the Application object, which has the same Options parameter.