Hello everybody
I am here because I am trying to write a very easy code.
The idea is that if in Column A it says TBR and at the same time in Column E it says No, the E cell where it says No turns into Yellow.
I wrote this code but it does not work. Please please help me
Thank you so much
I am here because I am trying to write a very easy code.
The idea is that if in Column A it says TBR and at the same time in Column E it says No, the E cell where it says No turns into Yellow.
I wrote this code but it does not work. Please please help me
Thank you so much
Code:
Sub condition()
If Range("A5, A1700") = "TBR" And Range("E5, E1700") = "No" Then
Range("E:E").Selection.Interior.Color = 3
End If
End Sub