DefaultOpenFormat Property Example
This example sets the default converter for opening documents to the Word document format and then opens Forcast.doc.
Options.DefaultOpenFormat = wdOpenFormatDocument
Documents.Open FileName:="C:\Sales\Forcast.doc"
This example sets the default converter for opening documents to automatically determine the appropriate file converter to use when opening documents.
Options.DefaultOpenFormat = wdOpenFormatAuto
This example sets the default converter for opening documents to the WordPerfect 6.x format.
Options.DefaultOpenFormat = _
FileConverters("WordPerfect6x").OpenFormat