How use option buttons in Word without deselecting other choices?

L

LingThing

I've inserted option buttons, but every time I select one from one list, the
previous choice disappears!! Any ideas?
 
K

Karl E. Peterson

LingThing said:
I've inserted option buttons, but every time I select one from one
list, the previous choice disappears!! Any ideas?

So you "want your cake and eat it too!"? <g>

That's how options work. You take one, and only one. If you want to
present multiple options, they need to be grouped as such. All option
buttons within a common container are considered to be mutually exclusive.
Put different options in different containers.
 
L

LingThing

Thanks! So, how do I get "containers"? I saw there was a group option in
Visual Basic, but, regrettably, I'm no programmer!
 
K

Karl E. Peterson

LingThing said:
Thanks! So, how do I get "containers"? I saw there was a group
option in Visual Basic, but, regrettably, I'm no programmer!

Hmmm, forgot I was in a VBA group. In ClassicVB, you'd just slap 'em into
their own Frame control. That works with UserForms as well, it seems. You
can also supply identical strings to the GroupName property (not available
in ClassicVB) to delineate groups.
--
Working without a .NET?
http://classicvb.org/


 
T

Tony Jollans

If these are just option buttons in a document you don't need to use code,
....

In design mode right click on one of them and select Properties. This will
open the properties window. You can then show the properties for each
individual one either by clicking on it, or by using the dropdown at the top
of the properties window.

Each option button has a groupName - you can use any name and those with the
same name will be considered a group from which only one can be selected.
 
L

LingThing

BEAUTIFUL!!! Thank you! I looked what I THOUGHT was everywhere, and I
missed the GroupName field! It works PERFECTLY!

Thanks!
 

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