RecheckSmartTags Method

Microsoft Word Visual Basic

RecheckSmartTags Method

       

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

expression.RecheckSmartTags

expression   Required. An expression that returns 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.

Sub SmartTagRecheck()
    ActiveDocument.RecheckSmartTags
End Sub