VBA Code to react to cell change, and apply value to another cell.

Mclov1n88

New Member
Joined
Oct 7, 2021
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Tried searching but can not seem to find the right combination of search words so here it goes:

I am attempting to affect an option button to True, based on the status of other option buttons.

For example what I have started with

IF
ActiveSheet.DrawingObjects("Option Button 1").Value = True
THEN
ActiveSheet.DrawingObjects("Option Button 10").Value = True

---
Group 1 has 6 option buttons
Group 2 Has 2 option buttons

Desire would be

If Group one has option button 3 or 4 or 5 or 6 = True, then group 2 option button 1 true

Only trigger when group 1 buttons change, and no change needed when group 1 buttons 1 or 2 set to true




Hope that is enough to not be confusing.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Tried searching but can not seem to find the right combination of search words so here it goes:

I am attempting to affect an option button to True, based on the status of other option buttons.

For example what I have started with

IF
ActiveSheet.DrawingObjects("Option Button 1").Value = True
THEN
ActiveSheet.DrawingObjects("Option Button 10").Value = True

---
Group 1 has 6 option buttons
Group 2 Has 2 option buttons

Desire would be

If Group one has option button 3 or 4 or 5 or 6 = True, then group 2 option button 1 true

Only trigger when group 1 buttons change, and no change needed when group 1 buttons 1 or 2 set to true




Hope that is enough to not be confusing.
Your subject title says:

VBA Code to react to cell change, and apply value to another cell.​

But then your posting only talks about Option Buttons
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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