Share via


Save Method [Visio 2003 SDK Documentation]

Saves a document.

object**.Save**

object     Required. An expression that returns a Document object.

Version added

2.0

Remarks

Use the SaveAs method to save and name a new document. Until a document has been saved, the Save method generates an error.

Example

The following macro shows how to save a Visio document.

Public Sub Save_Example()

    ThisDocument.Save
    Debug.Print "Document saved."

End Sub

Applies to | Document object

See Also | SaveAs method | SaveAsEx method