Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns or sets a Boolean that represents the current state (checked/unchecked) for a check box. Read/write.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.