Options Object

Microsoft Publisher Visual Basic

Options Object

Application Options

Represents application and publication options in Microsoft Publisher. 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 four application options for Publisher.

Sub SetSpecialOptions()
    With Options
        .AllowBackgroundSave = True
        .DragAndDropText = True
        .AutoHyphenate = True
        .MeasurementUnit = pbUnitInch
    End With
End Sub