M
Maria@Simonsoft
Hi all,
I have tried to build a macro that aims to from a check list with checkboxes
automaticly reflect the result. I like to when one checkbox is checked
another is checked and reverse. See the code so far below.
I have two problems to solve:
1. I do not get this to work "automatically" when the form is locked, or I
do get the check but not the uncheck of the checkbox. Does anybody know how
to do this?
2. I have tested this on 1 checkbox with bookmark "Check 1" with "Recheck1"
as the reflection Checkbox
I have 52 others with bookmarks check1. Is there a way of writing a macro
without having to list all 52 bookmarks?
Thanks in advance
/Maria
ub ExitCheck()
With ActiveDocument
If .FormFields("Check1").CheckBox.Value Then
.FormFields("Recheck1").CheckBox.Value = True
Else
.FormFields("Recheck1").CheckBox.Value = False
End If
End With
End Sub
I have tried to build a macro that aims to from a check list with checkboxes
automaticly reflect the result. I like to when one checkbox is checked
another is checked and reverse. See the code so far below.
I have two problems to solve:
1. I do not get this to work "automatically" when the form is locked, or I
do get the check but not the uncheck of the checkbox. Does anybody know how
to do this?
2. I have tested this on 1 checkbox with bookmark "Check 1" with "Recheck1"
as the reflection Checkbox
I have 52 others with bookmarks check1. Is there a way of writing a macro
without having to list all 52 bookmarks?
Thanks in advance
/Maria
ub ExitCheck()
With ActiveDocument
If .FormFields("Check1").CheckBox.Value Then
.FormFields("Recheck1").CheckBox.Value = True
Else
.FormFields("Recheck1").CheckBox.Value = False
End If
End With
End Sub