Share via


ContentControl.Checked Property (Word)

Returns or sets a Boolean that represents the current state (checked/unchecked) for a check box. Read/Write.

Version Information

Version Added: Word 2010

Syntax

expression .Checked

expression An expression that returns a ContentControl object.

Remarks

Use the Checked property to get/set the current state for a check box content control. If the control is not a check box, attempts to access the property will fail with the run-time error “This property is only available for check box content controls."

Example

The following code example sets the specified check box content control Checked property.

Dim objCC As ContentControl 
 
Set objCC = ActiveDocument.ContentControls.Add (wdContentControlCheckbox) 
objCC.Title = “Send Reminder” 
objCC.Checked = true 

See Also

Concepts

ContentControl Object Members

ContentControl Object