Options Object

Microsoft Word Visual Basic

Options Object

         
Application Options

Represents application and document options in Word. Many of the properties for the Options object correspond to items in the Options dialog box (Tools menu).

Using the Options Object

Use the Options property to return the Options object. The following example sets three application options for Word.

With Options
    .AllowDragAndDrop = True
    .ConfirmConversions = False
    .MeasurementUnit = wdPoints
End With