Export (0) Print
Expand All
Expand Minimize

Document.SmartTags Property

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

Syntax

expression.SmartTags

expression   Required. A variable that represents a Document object.

Example

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

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



Community Additions

ADD
Show:
© 2014 Microsoft