I can place a Checkbox in my document in VBA - which is the same as going to Developer tab, Controls, and select Checkbox. I have several of them in my document. By default they come up as Unchecked.
I know I can do this:
Code:
Dim ctrl As ContentControl
For Each ctrl In ActiveDocument.ContentControls
If ctrl.Type = wdContentControlCheckBox Then
ctrl.Checked = False
End If
Next
but that makes all of them Checked.
How do I refer to a particular Checkbox in code?
Have fun.
---- Andy
A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.