Radio Buttons not Holding Values

zalik22

Board Regular
Joined
Dec 14, 2010
Messages
111
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have two worksheets and each worksheet has 2 sets of Yes/No Radio buttons. If I select "Yes" and "No" on one spreadsheet, when I click on the 2nd spreadsheet, the values are reset. If I click new values on the 2nd spreadsheet, whatever I selected in the first spreadsheet is reset. Any idea what is causing this? I was given the file by someone else and I am not too familiar with radio buttons, so any help is much appreciated. I wen into developer and noticed the buttons on both sheets are named buttons 7-10. Thanks!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
maybe they are being reset with a worksheet_change event
 
Upvote 0
Is there a way to see if there is code that is changing these sheets?
 
Upvote 0
Right click on the tab and view code or Alt-F11 to open the macro window, then you need to see what is there
 
Last edited:
Upvote 0
One tab has below and the other has the same with OptionButtons 7-10:

Private Sub OptionButton11_Click()
End Sub
Private Sub OptionButton12_Click()
End Sub
Private Sub OptionButton13_Click()
End Sub
Private Sub OptionButton14_Click()
End Sub
 
Last edited:
Upvote 0
like that they do nothing, does the workbook have any code
 
Upvote 0
There is code on another worksheet, but these two are not ever referenced.
 
Upvote 0
Are they form controls? If so, are the buttons of each set surrounded by a group box?

Or are they Active-X controls? If so, what is the GroupName of each control? Click Design Mode from the Developer tab, right click the button, and select Properties.
 
Upvote 0
Thanks, so much! The user must have copied and pasted the buttons so they were part of the same group name. I changed it and it worked!
 
Upvote 0

Forum statistics

Threads
1,215,529
Messages
6,125,345
Members
449,220
Latest member
Edwin_SVRZ

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