RemoveSmartTags Method

Microsoft Word Visual Basic

RemoveSmartTags Method

       

Removes all smart tag information from a document.

expression.RemoveSmartTags

expression   Required. An expression that returns a Document object.

Example

This example removes all smart tag information from the active document.

Sub SmartTagRemove()
    ActiveDocument.RemoveSmartTags
End Sub