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?
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?
>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?
Fuzzhead - 04 Jan 2008 20:17 GMT
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?
> You do not "save" it. Are you asking how to set the checkboxes in the
> document as checked/unchecked?
[quoted text clipped - 8 lines]
> >form to edit the template. How do I save the checkbox info in the form back
> >to the checkboxes in the template?
Doug Robbins - Word MVP - 07 Jan 2008 10:22 GMT
ActiveDocument.FormFields("Check1").CheckBox.Value = True
will put an X in the box.
ActiveDocument.FormFields("Check1").CheckBox.Value = False
will remove it.

Signature
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
>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
[quoted text clipped - 16 lines]
>> >back
>> >to the checkboxes in the template?