Option buttons

justme

Well-known Member
Joined
Aug 26, 2002
Messages
722
A couple of questions on option buttons.

What is the easiest way to unselect option buttons in a form? It seems once you click you are stuck. Sometimes you just want to leave them blank or you accidentally click one and you didn't mean to.

Also, is there a way to group buttons without having the line show around them? I haven't been able to figure that one out either.

Thanks in advance.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

justme

Well-known Member
Joined
Aug 26, 2002
Messages
722
Checkboxes could be used, but I wanted to make sure it was an either/or type answer. I don't think you can do that with checkboxes?
 

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
What you could do is include a reset button (say) which would reset the value of all the option buttons in the group. You'd need to plonk a little code behind it, but I assume you've got plenty of that in any case.

Richard
 

justme

Well-known Member
Joined
Aug 26, 2002
Messages
722

ADVERTISEMENT

OK, I did have an option button that just said unselect and used that. I thought there might be a cleaner way.

Any ideas on the line around grouped option buttons? Can the line go away or does it have to stay?
 

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
If the line you're talking about is the Frame outline, then you could certainly move the option buttons off of the frame and onto the main body of the form if you wanted.

If you're not referring to the frame border then I'm afraid I have misunderstood.
 

justme

Well-known Member
Joined
Aug 26, 2002
Messages
722
When you use the group box in the forms toolbar it puts a box or line around the button you have grouped. Is there a way to hide this line?
 

Forum statistics

Threads
1,141,626
Messages
5,707,486
Members
421,510
Latest member
haroonstr

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
Top