Option Button Grouping on Userform

vthokienj

Board Regular
Joined
Aug 1, 2011
Messages
105
Office Version
  1. 365
Platform
  1. Windows
On a userform, I have one large frame with two smaller frames inside. In each smaller frame there is a single option button. I would only want one of the other option button to be selectable, not both.

How do you associate these buttons so that only one would be selectable? If they were within the same frame they would behave as I would want, but I need the separate frames. Setting their group name properties to be the same does not seem to have any effect.

Thanks
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Why do you need a Frame around one control?
 
Upvote 0
The frame is just for visualization. I understand that this could be accomplished other ways, such as replacing the interior frames with image boxes. But I want to know if there is a way to somehow group these optionbuttons other than simply putting them within a frame.
 
Upvote 0
Not that I am aware of - having them inside a frame will make any groupname a subset of that frame only. You'd be far better off using another approach.
 
Upvote 0
This makes sense, I'll implement a workaround.

Thanks for the help.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top