Share via


FormField.Enabled Property

Word Developer Reference

True if a form field is enabled. Read/write Boolean.

Syntax

expression.Enabled

expression   An expression that represents a FormField object.

Remarks

If a form field is enabled, its contents can be changed as the form is filled in.

Example

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

Visual Basic for Applications
  Dim ffFirst As FormField

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

See Also