How can I delete CheckBoxes?

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?
 
D

Doug Robbins

Instead of using VBA checkboxes, why don't you take a look at the way that
effect is achieved with the fax template that comes with Word.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
R

RC

Thanks! I think that will work, now I just need to figure out how to
find each "Macro Button", determine the value (checked or unchecked)
and replace it with a wing ding box character. Any ideas on that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top