J
jlo
I inherited a Word fill-in form. I was told the yes and no check boxes were
not working correctly. Instead of just using the yes, no check boxes, the
user wanted the person who fills out the form to only select yes or no. If
you select no, yes would be unchecked. I found a macro in the Macros dialog
box.
Sub MakeCheckBoxesExclusive()
'
' MakeCheckBoxesExclusive Macro
'
Dim oField As FormField
For Each oField In Selection.Frames(1).Range.FormFields
oField.CheckBox.Value = False
Next oField
Selection.FormFields(1).CheckBox.Value = True
End Sub
not working correctly. Instead of just using the yes, no check boxes, the
user wanted the person who fills out the form to only select yes or no. If
you select no, yes would be unchecked. I found a macro in the Macros dialog
box.
Sub MakeCheckBoxesExclusive()
'
' MakeCheckBoxesExclusive Macro
'
Dim oField As FormField
For Each oField In Selection.Frames(1).Range.FormFields
oField.CheckBox.Value = False
Next oField
Selection.FormFields(1).CheckBox.Value = True
End Sub