Export (0) Print
Expand All
Expand Minimize

Application.SmartTagRecognizers Property

Office 2007
Returns a SmartTagRecognizers collection for an application.

Syntax

expression.SmartTagRecognizers

expression   A variable that represents an Application object.

Example

In this example, Microsoft Excel displays the first smart tag recognizer item available for the application, or displays a message that none exist.

Visual Basic for Applications
Sub CheckforSmartTagRecognizers()

    ' Handle run-time error if no smart tag recognizers exist.
    On Error Goto No_SmartTag_Recognizers_In_List

    ' Notify the user of the first smart tag recognizer item.
    MsgBox "The first smart tag recognizer is: " & _
        Application.SmartTagRecognizers.Item(1)
    Exit Sub

No_SmartTag_Recognizers_In_List:
    MsgBox "No smart tag recognizers exist in list."

End Sub



Community Additions

ADD
Show:
© 2014 Microsoft