This example opens MyDoc.doc as a read-only document.
Documents.Open FileName:="C:\MyFiles\MyDoc.doc", ReadOnly:=True
This example opens each document in the RecentFiles collection.
Dim rFile As RecentFile
For Each rFile In RecentFiles
rFile.Open
Next rFile
This example opens the most recent version of Report.doc.
Set myDoc = Documents("Report.doc")
myDoc.Versions(myDoc.Versions.Count).Open
This example opens Test.wp using the WordPerfect 6.x file converter.
num = FileConverters("WordPerfect6x").OpenFormat
Documents.Open FileName:="C:\Test.wp", Format:=num