check boxes

  • Thread starter Thread starter SHARON
  • Start date Start date
S

SHARON

I have a form in Word 07 with multiple check boxes.

I would like to check one box, and automatically have another check box get
a check, instead of manually checking the 2nd one, which leaves room for
human error. There are 2 instances of this on my form. Hope this make
sense.
 
For that you would need a macro run on exit from the first check box field
(here Check1) to set the value of the second (here Check2) as follows

If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then
ActiveDocument.FormFields("Check2").CheckBox.Value = True
Else
ActiveDocument.FormFields("Check2").CheckBox.Value = False
End If


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Hah! I'd forgotten that one - which is probably even simpler :)

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Graham/Jay...

Thank you both for your feedback, unfortuantely i don't know much about
macros....is there any chance you could reply back with the way i would
create this macro, right from step 1?
 
See the following page of fellow MVP Graham Mayor's website:

http://www.gmayor.com/installing_macro.htm

--
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, originally posted via msnews.microsoft.com
 
Back
Top