Udostępnij za pośrednictwem


CheckBox.Default Property (Word)

Returns or sets the default check box value. True if the default value is checked. Read/write Boolean.

Syntax

expression .Default

expression Required. A variable that represents a CheckBox object.

Example

If the first form field in the active document is a check box, this example retrieves the default value.

Dim blnDefault As Boolean 
 
If ActiveDocument.FormFields(1).Type = wdFieldFormCheckBox Then 
 blnDefault = ActiveDocument.FormFields(1).CheckBox.DefaultEnd If

See Also

Concepts

CheckBox Object Members

CheckBox Object