Document.Save Method (Visio)

Saves a document.

Version Information

Version Added: Visio 2.0

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