Excel Macro help - clear cell based on changing value and color of another cell

uyedaj

New Member
Joined
Feb 19, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I need some cells to clear when the value of another cells changes. This macro works but I have conditional format to change colors.

So I am looking for a way to clear a cell when the "Value" of a different cell changes "&" if the Cell "Color" turns Pink, Blue, Green, or Purple?

If Not Intersect(Target, Range("B29:O113")) Is Nothing Then
Range("H121:H123").ClearContents
End If

My objective - when the value of a cell changes and those changes turn Pink, Blue, Green or Purple then clear some other cell (not sure how colors are written because mine are kinda off shades).
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,215,096
Messages
6,123,074
Members
449,093
Latest member
ripvw

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