Recognize Property

Microsoft Excel Visual Basic

Recognize Property

       

Returns True when data can be labeled as a smart tag. Read/write Boolean.

expression.Recognize

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

Example

In this example, Microsoft Excel determines if the ability to label data as smart tags is enabled and notifies the user.

Sub CheckSmartTagRecognition()

    ' Determine if data can be labeled as SmartTags.
    If Application.SmartTagRecognizers.Recognize = True Then
        MsgBox "Background smart tag recognition is turned on."
    Else
        MsgBox "Background smart tag recognition is turned off."
    End If

End Sub