Application.Quit Method (Visio)

Closes the indicated instance of Microsoft Visio.

Version Added: Visio 2.0

expression .Quit

expression A variable that represents an Application object.

Return Value


If the Quit method is invoked when any open document has unsaved changes, a dialog box appears asking if you want to save the document. To quit the application without saving and seeing the dialog box, set the Saved property of the Document object representing the document to True immediately before quitting. Set the Saved property to True only if you are sure you want to close the document without saving changes, because you will lose any unsaved changes.