次の方法で共有


Options.PromptUpdateStyle Property (Word)

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. Read/write Boolean.

Syntax

expression .PromptUpdateStyle

expression A variable that represents a Options object.

Remarks

False reapplies the style formatting to the selection without verifying whether the user wants to change the style.

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

See Also

Concepts

Options Object Members

Options Object