Share via


SmartTags Property

SmartTags Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns a SmartTags object that represents a smart tag in a document.

expression.SmartTags

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example adds custom properties to the first smart tag in the active document.

  Sub NewSmartTagProperty()
    ActiveDocument.SmartTags(1).Properties _
        .Add Name:="President", Value:=True
End Sub