Checkboxes

F

Fuzzhead

I have a template and in it there are 20 checkboxes. I have created a user
form to edit the template. How do I save the checkbox info in the form back
to the checkboxes in the template?
 
F

fumei via OfficeKB.com

You do not "save" it. Are you asking how to set the checkboxes in the
document as checked/unchecked?

Is this really a template? Or a document?

It would also help if you stated what KIND of checkboxes they are in the
document. Formfields - inserted with the Forms toolbar? ActiveX controls -
inserted with the Controls toolbar?
 
F

Fuzzhead

I am asking how to set the checkboxes in the document as checked/unchecked?
They are Formfields - inserted with the Forms toolbar. Would it be better if
they were ActiveX controls - inserted with the Controls toolbar?
 
D

Doug Robbins - Word MVP

ActiveDocument.FormFields("Check1").CheckBox.Value = True

will put an X in the box.

ActiveDocument.FormFields("Check1").CheckBox.Value = False

will remove it.


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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