Table of contents
TOC
Collapse the table of content
Expand the table of content

Document.Save Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Saves the specified publication.

Syntax

expression. Save

_expression_A variable that represents a Document object.

Remarks

If the publication has not been previously saved, calling the Save method is equivalent to calling the SaveAs method with the FileName argument set to the value of the publication's Name property. If the publication has been previously saved, the Save method saves the current version of the publication in the format in which it was opened and in the location to which it was last saved.

Calling the Save method always performs saves in the foreground regardless of whether background saves are enabled.

Example

This example saves the active publication if it has changed since it was last saved.

If ActiveDocument.Saved = False Then ActiveDocument.Save
© 2018 Microsoft