VBA Code on How to change values in column range(true/false) based on vbred selection.change in other column

silvanus3805

New Member
Joined
Feb 21, 2022
Messages
17
Office Version
  1. 2016
Platform
  1. Windows
Please help me with another Thread? Im Trying to get VBA To Change Values ( True / False ) In [Column2 VBA] everytime Selection.change event happens in the [Column1] range , lets assume the color in column1 is = vbred , I need vba formula to change the values (True/False) in the 2nd column based on the color in column1 , NB: VBA code only not the function method
 

Attachments

  • Capture.JPG
    Capture.JPG
    61.4 KB · Views: 8

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
If you're wanting us to write a script that will run when you change the color in any cell in column A I'm not sure that's possible.
And selection change occurs anytime you move from one cell to another not just when you change a cells color.
 
Upvote 0
Yes,But it doesn't necessarily mean that it should happen after selection change, Isn't there a simple VBA whereby if any cell in column1 = VBA Red then the corresponding row in the next column should be = True ??
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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