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

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college


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>
[TD="colspan: 5"]Response 1
[/TD]
[TD="colspan: 4"]Response 2
[/TD]

</tbody>
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
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