Options.PasteSmartStyleBehavior Property

Word Developer Reference

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.

Visual Basic for Applications
  Sub UseSmartStyle()
    With Options
        If .PasteSmartStyleBehavior = False Then
            .PasteSmartStyleBehavior = True
        End If
    End With
End Sub

See Also