G
Graham Hopkins
I have an on button click event in one sheet, that looks at a range in
another sheet, for a particular value (in this case "R").
If that value is found anywhere in that range, it changes the format
of the specified cell "O4" on the current sheet.
I have tried the following code, but this doesn't work - any tips?
For Each c In Range("Minus_1_Customer_DECS")
If c.Value = "R" Then
Range("O4").Interior.Color = RGB(255, 0, 0)
Next c
End If
another sheet, for a particular value (in this case "R").
If that value is found anywhere in that range, it changes the format
of the specified cell "O4" on the current sheet.
I have tried the following code, but this doesn't work - any tips?
For Each c In Range("Minus_1_Customer_DECS")
If c.Value = "R" Then
Range("O4").Interior.Color = RGB(255, 0, 0)
Next c
End If