Expand Minimize
This topic has not yet been rated - Rate this topic

Options.DefaultOpenFormat Property (Word)

Returns or sets the default file converter used to open documents. Can be a number returned by the OpenFormat property, or one of the following WdOpenFormat constants.

expression .DefaultOpenFormat

expression Required. A variable that represents an Options collection.

This example sets the default converter for opening documents to the Word document format and then opens Forecast.doc.

Options.DefaultOpenFormat = wdOpenFormatDocument 
Documents.Open FileName:="C:\Sales\Forecast.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
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.