Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2008

Tip: Looking for answers? Try searching our database.

Checkboxes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fuzzhead - 04 Jan 2008 17:55 GMT
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?
fumei - 04 Jan 2008 19:29 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.