CheckBox Property

Applies To

FormField object.

Description

Returns a CheckBox object that represents a check box form field. Read-only.

Remarks

If the CheckBox property is applied to a FormField object that isn't a check box form field, the property won't fail, but the Valid property for the returned object will be False.

See Also

DropDown property, TextInput property, Value property.

Example

This example clears the check box named "Blue."

ActiveDocument.FormFields("Blue").CheckBox.Value = False
This example compares the current value with the default value of the check box named "Check1." If the values are equal, the same variable is set to True.

Set myField = ActiveDocument.FormFields("Check1").CheckBox
If myField.Default = myField.Value Then same = True