Word Forms - any idea to apply radio button rather than check boxe

  • Thread starter How to detect collapsed task in vba?
  • Start date
H

How to detect collapsed task in vba?

I'm trying to create some forms in Word 2003 that will allow only one
selection among several choices, e.g. Very Good, Good, Bad, Worse.
But Word 2003 toolbar does not support radio button.
What I've tried is check boxes with Form protection, but it allows multiple
choices.
Any good idea to solve my problem?
 
J

Jay Freedman

How said:
I'm trying to create some forms in Word 2003 that will allow only one
selection among several choices, e.g. Very Good, Good, Bad, Worse.
But Word 2003 toolbar does not support radio button.
What I've tried is check boxes with Form protection, but it allows
multiple choices.
Any good idea to solve my problem?

One solution is to use check boxes together with a macro that makes sure
there's only one checked, such as the solution at
http://www.word.mvps.org/FAQs/TblsFldsFms/ExclusiveFmFldChbxs.htm.

Another solution, probably better, is to use a dropdown form field. In the
field's Properties dialog, add the three (or more) choices to the list; the
very nature of a dropdown ensures that only one value can be selected at a
time.

Finally, you can use ActiveX radio buttons from the Control Toolbox. In
order to make a group that behaves the way you want, open the Properties
dialog of each radio button in the group and enter the same value in the
GroupName property. To make another group, give those radio buttons a
different value of GroupName.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
H

How to detect collapsed task in vba?

Thanks, Jay.
Dropbox Solution seems inconvenient workaround.
Macro solution might be good, but how I do not know how to set in many radio
buttons case.
 
G

Graham Mayor

The link at
http://www.word.mvps.org:80/FAQs/TblsFldsFms/ExclusiveFmFldChbxs.htm shows
only three check boxes in the group. You can have as many as you like in the
group and it will still work.

The dropdown solution can be used with a shaded table to give a scale - see
http://www.gmayor.com/word_vba_examples.htm - and an alternative. Dropdowns
are somewhat easier to use when collating information than a raft of check
boxes.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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