Option (Radio) Buttons in Excel 07

skpowers

New Member
Joined
Aug 17, 2011
Messages
2
I have inserted several radio buttons into an Excel 07 spreadsheet, but when I try to link one button to a cell, the cell link for all of the buttons change to that cell. I would like to have different groups of radio buttons linked to different cells.

Any advice?

Thanks
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
You'll need to use Group Boxes to determine which radio buttons belong with one group, and which ones belong to another group.

You'll then have annoying group boxes on your scrreen, and you can use the following macros to hide and show them.

Code:
Sub GB_Hide()
Dim sh As Worksheet
Dim gBox As GroupBox
Set sh = ActiveSheet
 
For Each gBox In sh.GroupBoxes
    gBox.Visible = False
Next gBox
 
End Sub
 
 
Sub GB_Show()
Dim sh As Worksheet
Dim gBox As GroupBox
Set sh = ActiveSheet
 
For Each gBox In sh.GroupBoxes
    gBox.Visible = True
Next gBox
 
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,598
Members
452,927
Latest member
whitfieldcraig

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