Limit number of check boxes used in table

  • Thread starter Still learning@work
  • Start date
S

Still learning@work

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.
 
D

Doug Robbins - Word MVP

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/TblsFldsFms/ExclusiveFmFldChbxs.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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top