Sub
ColorCHANGEvalue()
Dim
cell
As
Range
For
Each
cell
In
Range(Range(
"A:A"
), Range(
"A:A"
).
End
(xlDown))
If
cell.Value =
"q"
Then
BackColor = RGB(255, 255, 255)
ElseIf
cell.Value =
"w"
Then
BackColor = RGB(255, 0, 0)
ElseIf
cell.Value =
"i"
Then
BackColor = RGB(255, 151, 1)
ElseIf
cell.Value =
"u"
Then
BackColor = RGB(1, 75, 1)
End
If
Next
End
Sub