Share via


SmartTagRecognizer Object

Excel Developer Reference

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

Remarks

Use the Item(

index

) property of the SmartTagRecognizers collection to return a single SmartTagRecognizer object.

Example

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.

Visual Basic for Applications
  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

See Also