Saved Property

Home Page (Objects)OverviewFAQReference

Applies to: Document object, TextDocument object

Gets a document's saved status, indicating whether a document has changed since it was last saved.

Syntax

object.Saved

Parameters

object

An expression that evaluates to a Document object or a TextDocument object.

Remarks

The Saved property has the Boolean type and gets one of the following values:

Example

The following example gets the saved status of the active document:

Dim status
status = ActiveDocument.Saved