Disable option buttons - Need VBA to disable second group of options based on response in the first

ex123

New Member
Joined
Jun 15, 2013
Messages
4
Dear All,

I am creating a survey where I need to disable the second group of option buttons based on response in first group. If user selects 'NA' radio button, all options in second group should be disabled.

My worksheet looks like this ..(attached worksheet).

Response 1 Response 2
Attribute 1 (Option buttons) (Option buttons)
Q1 1 2 3 4 NA 1 2 3 4
Q2 1 2 3 4 NA 1 2 3 4
Attribute 2
Q3 1 2 3 4 NA 1 2 3 4
Q4 1 2 3 4 NA 1 2 3 4


If NA is checked in response 1.... then all corresponding options in response group 2 should get disabled.

Unable to upload my workbook as file, as this forum


Thanks for reading and look for your help (VBA code).
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Response 1
Response 2

1
2
3
4
NA
1
2
3
4
Attribute 1









Question 1









Question 2









Attribute 2









Question 1









Question 2









Attribute 3









Question 1









Question 2










<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,212
Messages
6,123,649
Members
449,111
Latest member
ghennedy

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