View.DisplaySmartTags Property

Word Developer Reference

True for Microsoft Word to display an underline beneath smart tags in a document. Read/write Boolean.

Syntax

expression.DisplaySmartTags

expression   An expression that returns a View object.

Remarks

Smart tags are marked in documents with a dashed underline. Setting the DisplaySmartTags property to False does not remove smart tags; it only turns off displaying the underline.

Example

This example turns off displaying the underline beneath smart tags in the active view.

Visual Basic for Applications
  Sub DontShowSmartTags()
    ActiveWindow.View.DisplaySmartTags = False
End Sub

See Also