PromptUpdateStyle Property

Microsoft Word Visual Basic

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