Share via


SmartTagRecognizer.Enabled Property

Word Developer Reference

True if smart tag recognizers are enabled for the application.

Syntax

expression.Enabled

expression   An expression that represents a SmartTagRecognizer object.

Example

If smart tag recognizers are enabled the user is notified.

Visual Basic for Applications
  Sub Check_SmartTagRecognizers()
' Determine if smart tag recognizers are enabled.
If Application.SmartTagRecognizers.Item(1).<strong class="bterm">Enabled</strong> = True Then
    MsgBox "Smart tag recognizers are enabled."
Else
    MsgBox "Smart tag recognizers are not enabled."
End If

End Sub

See Also