Saved Property

Applies To

Document object, Template object.

Description

True if the specified document or template hasn't changed since it was last saved. False if Word displays a prompt to save changes when the document is closed. Read/write Boolean.

See Also

Save method, SaveAs method.

Example

This example saves the active document if it contains previously unsaved changes.

If ActiveDocument.Saved = False Then ActiveDocument.Save
This example changes the status of the Normal template to unchanged. If changes were made to the Normal template, the changes aren't saved when you quit Word.

NormalTemplate.Saved = True
Application.Quit