InvisibleApp.Quit Method
Visio Automation Reference |
Closes the indicated instance of Microsoft Office Visio.
Version Information
Version Added: Visio 2.0
Syntax
expression.Quit
expression A variable that represents an InvisibleApp object.
Return Value
nothing
Remarks
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.
See Also