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
"ChrisK"
news:CA94253C-2A47-46FD-B710-E288E424B94A@microsoft.com...
> The article refers to check boxes in frames, is there anyway to do it
> without
> framing the checkboxes? Would sections work if I added the appropriate
> breaks?
>
> "Jay Freedman" wrote:
>
>> On Sun, 23 Mar 2008 12:39:01 -0700, 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
>>
>> Yep. See
>> http://www.word.mvps.org/FAQs/TblsFldsFms/ExclusiveFmFldChbxs.htm.
>>
>> --
>> Regards,
>> Jay Freedman
>> Microsoft Word MVP FAQ: http://word.mvps.org
>> Email cannot be acknowledged; please post all follow-ups to the newsgroup
>> so all may benefit.
>>