Document.Save method (Visio)
Saves a document.
Syntax
expression.Save
expression A variable that represents a Document object.
Return value
Integer
Remarks
To save and name a new document, use the SaveAs method. Until a document has been saved, the Save method generates an error.
Example
The following macro shows how to save a Microsoft Visio document.
Public Sub Save_Example()
ThisDocument.Save
Debug.Print "Document saved."
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.