Share via


Enabled Property

The Enabled Property applies to the FormField Object and the SmartTagRecognizer Object.

  • FormField

    True if a form field is enabled. If a form field is enabled, its contents can be changed as the form is filled in. Read/write Boolean.

    Example

    If the first form field in the active document is an enabled check box, this example selects the check box.

    Dim ffFirst As FormField
    
    Set ffFirst = ActiveDocument.FormFields(1)
    If ffFirst.Enabled = True And _
            ffFirst.Type = wdFieldFormCheckBox Then
        ffFirst.CheckBox.Value = True
    End If
    
  • SmartTagRecognizer

    True if smart tag recognizers are enabled for the application.

    Example

    If smart tag recognizers are enabled the user is notified.

    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
    

Applies to | FormField Object | SmartTagRecognizer Object

See Also | Result Property | Value Property