Options.PasteSmartStyleBehavior property (Word)

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


expression. PasteSmartStyleBehavior

expression A variable that represents a 'Options' object.


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

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.