AutoSelectWord Property

Microsoft Publisher Visual Basic

expression.AutoSelectWord

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets Microsoft Publisher global options, including enabling automatically selecting an entire word when selecting text.

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