Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
When one check box is checked I want to have others checked in the same
msword document. For instance if one checkbox is checked in a protected document how do you link to another checkbox so that it is checked too? I have used ref to link text boxes but that does not work with checkboxes. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
Danny,
Thought for sure that I answered this a few days ago, but I can't find the post. You can do it with a macro set to run on exit from the master checkbox. Something like: Sub DupCheckMark() If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then ActiveDocument.FormFields("Check2").CheckBox.Value = True ActiveDocument.FormFields("Check3").CheckBox.Value = True Else ActiveDocument.FormFields("Check2").CheckBox.Value = False ActiveDocument.FormFields("Check3").CheckBox.Value = False End If End Sub -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Danny wrote: When one check box is checked I want to have others checked in the same msword document. For instance if one checkbox is checked in a protected document how do you link to another checkbox so that it is checked too? I have used ref to link text boxes but that does not work with checkboxes. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
Greg, I have several checkboxs that I want to check the first one and then
have it check the other 3. When I use your code below it works for the first three but will not work for the fourth one. Is there a reason? Also, I have about 7 checkboxes on this form that I need to do the same thing with, is this possible? "Greg Maxey" wrote: Danny, Thought for sure that I answered this a few days ago, but I can't find the post. You can do it with a macro set to run on exit from the master checkbox. Something like: Sub DupCheckMark() If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then ActiveDocument.FormFields("Check2").CheckBox.Value = True ActiveDocument.FormFields("Check3").CheckBox.Value = True Else ActiveDocument.FormFields("Check2").CheckBox.Value = False ActiveDocument.FormFields("Check3").CheckBox.Value = False End If End Sub -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Danny wrote: When one check box is checked I want to have others checked in the same msword document. For instance if one checkbox is checked in a protected document how do you link to another checkbox so that it is checked too? I have used ref to link text boxes but that does not work with checkboxes. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
You can find code for synchronizing checkbox results in the sample with my
checkbox template at http://addbalance.com/word/download.htm. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Loretta" wrote in message ... Greg, I have several checkboxs that I want to check the first one and then have it check the other 3. When I use your code below it works for the first three but will not work for the fourth one. Is there a reason? Also, I have about 7 checkboxes on this form that I need to do the same thing with, is this possible? "Greg Maxey" wrote: Danny, Thought for sure that I answered this a few days ago, but I can't find the post. You can do it with a macro set to run on exit from the master checkbox. Something like: Sub DupCheckMark() If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then ActiveDocument.FormFields("Check2").CheckBox.Value = True ActiveDocument.FormFields("Check3").CheckBox.Value = True Else ActiveDocument.FormFields("Check2").CheckBox.Value = False ActiveDocument.FormFields("Check3").CheckBox.Value = False End If End Sub -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Danny wrote: When one check box is checked I want to have others checked in the same msword document. For instance if one checkbox is checked in a protected document how do you link to another checkbox so that it is checked too? I have used ref to link text boxes but that does not work with checkboxes. |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
I could not find where it would allow me to check one box and it check 3 more
boxes in the protected document. I have at least 7 different checkboxes on this one form that I need to check 3 more boxes after the first one of each of those 7 are checked. "Charles Kenyon" wrote: You can find code for synchronizing checkbox results in the sample with my checkbox template at http://addbalance.com/word/download.htm. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Loretta" wrote in message ... Greg, I have several checkboxs that I want to check the first one and then have it check the other 3. When I use your code below it works for the first three but will not work for the fourth one. Is there a reason? Also, I have about 7 checkboxes on this form that I need to do the same thing with, is this possible? "Greg Maxey" wrote: Danny, Thought for sure that I answered this a few days ago, but I can't find the post. You can do it with a macro set to run on exit from the master checkbox. Something like: Sub DupCheckMark() If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then ActiveDocument.FormFields("Check2").CheckBox.Value = True ActiveDocument.FormFields("Check3").CheckBox.Value = True Else ActiveDocument.FormFields("Check2").CheckBox.Value = False ActiveDocument.FormFields("Check3").CheckBox.Value = False End If End Sub -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Danny wrote: When one check box is checked I want to have others checked in the same msword document. For instance if one checkbox is checked in a protected document how do you link to another checkbox so that it is checked too? I have used ref to link text boxes but that does not work with checkboxes. |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
Loretta,
I doubt that Charle's webpage is going to deal specifically with your issue. I posted an answer to your question last Friday. I see that it is visible in Google groups, but if for some reason you can't find it, let me know and I will repost. |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
Did you download it? It has a document with the specific code for
replicating checkbox responses. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Loretta" wrote in message ... I could not find where it would allow me to check one box and it check 3 more boxes in the protected document. I have at least 7 different checkboxes on this one form that I need to check 3 more boxes after the first one of each of those 7 are checked. "Charles Kenyon" wrote: You can find code for synchronizing checkbox results in the sample with my checkbox template at http://addbalance.com/word/download.htm. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Loretta" wrote in message ... Greg, I have several checkboxs that I want to check the first one and then have it check the other 3. When I use your code below it works for the first three but will not work for the fourth one. Is there a reason? Also, I have about 7 checkboxes on this form that I need to do the same thing with, is this possible? "Greg Maxey" wrote: Danny, Thought for sure that I answered this a few days ago, but I can't find the post. You can do it with a macro set to run on exit from the master checkbox. Something like: Sub DupCheckMark() If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then ActiveDocument.FormFields("Check2").CheckBox.Value = True ActiveDocument.FormFields("Check3").CheckBox.Value = True Else ActiveDocument.FormFields("Check2").CheckBox.Value = False ActiveDocument.FormFields("Check3").CheckBox.Value = False End If End Sub -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Danny wrote: When one check box is checked I want to have others checked in the same msword document. For instance if one checkbox is checked in a protected document how do you link to another checkbox so that it is checked too? I have used ref to link text boxes but that does not work with checkboxes. |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
How do you set a macro to run on exit from the checkbox? I have word 2003.
"Greg Maxey" wrote: Danny, Thought for sure that I answered this a few days ago, but I can't find the post. You can do it with a macro set to run on exit from the master checkbox. Something like: Sub DupCheckMark() If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then ActiveDocument.FormFields("Check2").CheckBox.Value = True ActiveDocument.FormFields("Check3").CheckBox.Value = True Else ActiveDocument.FormFields("Check2").CheckBox.Value = False ActiveDocument.FormFields("Check3").CheckBox.Value = False End If End Sub -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Danny wrote: When one check box is checked I want to have others checked in the same msword document. For instance if one checkbox is checked in a protected document how do you link to another checkbox so that it is checked too? I have used ref to link text boxes but that does not work with checkboxes. |
#10
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Checkbox
Thank you - I figured it out last week.
"Jeff G" wrote: How do you set a macro to run on exit from the checkbox? I have word 2003. "Greg Maxey" wrote: Danny, Thought for sure that I answered this a few days ago, but I can't find the post. You can do it with a macro set to run on exit from the master checkbox. Something like: Sub DupCheckMark() If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then ActiveDocument.FormFields("Check2").CheckBox.Value = True ActiveDocument.FormFields("Check3").CheckBox.Value = True Else ActiveDocument.FormFields("Check2").CheckBox.Value = False ActiveDocument.FormFields("Check3").CheckBox.Value = False End If End Sub -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Danny wrote: When one check box is checked I want to have others checked in the same msword document. For instance if one checkbox is checked in a protected document how do you link to another checkbox so that it is checked too? I have used ref to link text boxes but that does not work with checkboxes. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Hidden Text checkbox checked | Microsoft Word Help | |||
Merge data if database checkbox field is True | Mailmerge | |||
Hyperlink macro assigned to checkbox form field | Microsoft Word Help | |||
Text and CheckBox macros in Protected form | Microsoft Word Help | |||
Displaying Checkbox | Mailmerge |