Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 840 Bytes

Visio.Document.Save.md

File metadata and controls

50 lines (29 loc) · 840 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Document.Save method (Visio)
vis_sdr.chm10516495
vis_sdr.chm10516495
Visio.Document.Save
5a9f104c-4893-c401-0093-bc860adf9a4b
06/08/2017
medium

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

[!includeSupport and feedback]