Sounds like you are actually using formfields in a protected document, in
which case you would run the following macro on exit from Check1
With ActiveDocument
If .FormFields("Check1").CheckBox.Value = True Then
.FormFields("Check3").CheckBox.Value = True
ElseIf .FormFields("Check2").CheckBox.Value = False Then
.FormFields("Check3").CheckBox.Value = False
End If
End With
and the following on exit from Check2
With ActiveDocument
If .FormFields("Check2").CheckBox.Value = True Then
.FormFields("Check3").CheckBox.Value = True
.FormFields("Check4").CheckBox.Value = True
Else
.FormFields("Check4").CheckBox.Value = False
End If
If .FormFields("Check2").CheckBox.Value = False Then
If .FormFields("Check1").CheckBox.Value = False Then
.FormFields("Check3").CheckBox.Value = False
End If
End If
End With
--
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
Darrin said:
I am not familiar with writing code for form fields. Can you get me started
with this and then I should be good to go.
Here is what I am attempting.
I have 4 checkboxes.
Check1, check2, check3 and check4.
If I check check1 then check3 woud be checked.
Then if I check check2 then check3 and check4 would be checked. Even
though
check3 is already checked.
Now if I uncheck check1 I do not want check3 to uncheck due to check2
still
being checked.
How will the properties be set for these?
Thank you for your time.