C
ChrisK
I have three check boxes on a form. I there a macro I can use to limit a
check to only one of the three boxes?
Thanks
check to only one of the three boxes?
Thanks
I have three check boxes on a form. I there a macro I can use to limit a
check to only one of the three boxes?
Thanks
Doug Robbins - Word MVP said:The checkboxes can be in any object that has a .Range
Paragraph
Table
Cell of a table
Section
Just replace the word Frames in the code with the object that you wish to
use. For example to make checkboxes in a Section of the document exclusive,
use:
Sub MakeCheckBoxesExclusive()
Dim oField As FormField
For Each oField In Selection.Sections(1).Range.FormFields
oField.CheckBox.Value = False
Next oField
Selection.FormFields(1).CheckBox.Value = True
End Sub
--
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