Compartilhar via


Document.RecheckSmartTags Method

Word Developer Reference

Removes smart tags recognized by the grammar checker and rechecks the document content against all smart tag recognizers.

Syntax

expression.RecheckSmartTags

expression   Required. A variable that represents a Document object.

Example

This example removes the existing smart tags in the active document and rechecks the document content against the smart tag recognizers selected on the Smart Tags tab of the AutoCorrect dialog box.

Visual Basic for Applications
  Sub SmartTagRecheck()
    ActiveDocument.RecheckSmartTags
End Sub

See Also