Syntax

expression.Open

expression Required. A variable that represents a object.

Example

The following example opens the previous saved version of the active document in read-only mode.

Visual Basic for Applications
 Dim dlvVersions As Office.DocumentLibraryVersions Set dlvVersions = ActiveDocument.DocumentLibraryVersions dlvVersions(dlvVersions.Count - 1).Open Set dlvVersions = Nothing 

See also: