PromptUpdateStyle Property

Microsoft Word Visual Basic

PromptUpdateStyle Property

       

True displays a message asking the user to verify whether they want to reformat a style or reapply the original style formatting when changing the formatting of styles. False reapplies the style formatting to the selection without verifying whether the user wants to change the style. Read/write Boolean.

expression.PromptUpdateStyle

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

Example

This example checks to see if a user receives a message when updating styles, and if not, enables it.

Sub UpdateStylePrompt()
    With Application.Options
        If .PromptUpdateStyle = False Then
            .PromptUpdateStyle = True
        End If
    End With
End Sub