R
RC
I have a Word 2002 document with several CheckBoxes in it. The
CheckBoxes were inserted from the VBA toolbox. This is not a Form or
a protected document. In the VBA code, I want to determine whether or
not a CheckBox is checked and if it is checked, delete it and replace
it with a Wing Ding character that looks like a box with a check mark
in it. If it is not checked, delete it and replace it with a Wing
Ding character that looks like an empty/unchecked box.
In the document (not the vba code) I can only delete the CheckBox if I
go into design mode, but, if I toggle into design mode in the code,
the code breaks/stops at that point. Are the CheckBoxes "shapes"? Do
I check the value like: CheckBox1.value and then if it is True,
somehow delete a shape or something?
CheckBoxes were inserted from the VBA toolbox. This is not a Form or
a protected document. In the VBA code, I want to determine whether or
not a CheckBox is checked and if it is checked, delete it and replace
it with a Wing Ding character that looks like a box with a check mark
in it. If it is not checked, delete it and replace it with a Wing
Ding character that looks like an empty/unchecked box.
In the document (not the vba code) I can only delete the CheckBox if I
go into design mode, but, if I toggle into design mode in the code,
the code breaks/stops at that point. Are the CheckBoxes "shapes"? Do
I check the value like: CheckBox1.value and then if it is True,
somehow delete a shape or something?