次の方法で共有


Options.PasteSmartStyleBehavior Property (Word)

True if Microsoft Word intelligently merges styles when pasting a selection from a different document. Read/write Boolean.

Syntax

expression .PasteSmartStyleBehavior

expression A variable that represents a Options object.

Example

This example sets Word to intelligently paste styles in text selected from a different document if the option has been disabled.

Sub UseSmartStyle() 
 With Options 
 If .PasteSmartStyleBehavior = False Then 
 .PasteSmartStyleBehavior = True 
 End If 
 End With 
End Sub

See Also

Concepts

Options Object

Options Object Members