View Single Post
  #2   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Limit number of check boxes used in table

See the article "Making groups of Check Box Form Fields mutually exclusive
(so that they behave like radio buttons) at:

http://www.word.mvps.org/FAQs/TblsFl...FmFldChbxs.htm

Instead of a Frame as is suggested in that article, you can have the
checkboxes in any .Range object, such as a table cell and then in place of
the following line of code

For Each oField In Selection.Frames(1).Range.FormFields

you would use:

For Each oField In Selection.Cells(1).Range.FormFields

Or if you had each check box in a separate cell in the one row of a table,
you would use:

For Each oField In Selection.Rows(1).Range.FormFields


--
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, originally posted via msnews.microsoft.com

"Still learning@work" wrote in
message ...
I want to limit the choices of check boxes in a cell to only 1 choice. A
Drop-down box is NOT an option. How can it be formatted to allow a user
to
click on only one box among the choices.

Example: red, blue, yellow, black white. I want the user to choose only
one.