Share via


Options.AutoFormatWord Property

Publisher Developer Reference

True for Microsoft Office Publisher to automatically format the entire word at the cursor position, even when no text is selected. Read/write Boolean.

Syntax

expression.AutoFormatWord

expression   A variable that represents an Options object.

Return Value
Boolean

Remarks

If only one or two characters in a word are selected, only the selected characters are affected by a formatting change, not the whole word.

Example

This example sets global options for Microsoft Office Publisher, including enabling automatic formatting of the entire word.

Visual Basic for Applications
  Sub SetGlobalOptions()
    With Options
        .AutoFormatWord = True
        .AutoKeyboardSwitching = True
        .AutoSelectWord = True
        .DragAndDropText = True
        .UseCatalogAtStartup = False
        .UseHelpfulMousePointers = False
    End With
End Sub

See Also