Quit Method Example

The following example shuts down the WorkSpace, prompting the user to save changes made to any open documents.

Application.Quit 3