Greg, Thanks for your response. Yes, the existing checkboxes are ActiveX controls: Forms.Checkbox.1.
I'm able to add those using this code:
Sub AddCheckbox()
Dim cbxAdded As Object
Set cbxAdded = ActiveDocument.Shapes _
.AddOLEControl(ClassType:="Forms.CheckBox.1", _
Anchor:=Selection.Range)
End Sub
After matching all the properties of my existing checkboxes, these added checkboxes look identical except for one difference. They have an anchor symbol that appears when hovering over the control. That might not matter, but I'd like them to match the existing
settings, if possible.
When I manually add an ActiveX Checkbox from the "Legacy" controls in the toolbox, this anchor doesn't appear.
Comparing the dialogs for Right-click > Format AutoShape/ Picture, these added Checkboxes have 3 tabs greyed out (Colors and Lines, Picture, Text Box). The existing Checkboxes and ones that I add manually don't have any tabs greyed out.
Any suggestions on how to match the existing and manually-added checkboxes would be appreciated.