Share via


SmartTagRecognizer Object

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.

SmartTagRecognizers
Aa168054.parchild(en-us,office.10).gifSmartTagRecognizer

Represents recognition engines which label data with types of information as you work in Microsoft Excel.

Using the SmartTagRecognizer object

Use the Item(index) property of the SmartTagRecognizers collection to return a single SmartTagRecognizer object.

Once a SmartTagRecognizer object is returned, you can determine if smart tag recognizers are enabled for the application. This example determines if smart tag recognizers are enabled and notifies the user.

  Sub Check_SmartTagRecognizers()

    ' Determine if smart tag recognizers are enabled.
    If Application.SmartTagRecognizers.Item(1).Enabled = True Then
        MsgBox "Smart tag recognizers are enabled."
    Else
    	MsgBox "Smart tag recognizers are not enabled."
    End If

End Sub