Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B:B")) Is Nothing Then
For Each Cll In Intersect(Target, Range("B:B"))
Select Case Cll.Value
Case "A"
Cll.Interior.ColorIndex = 3
Case "C"
Cll.Interior.ColorIndex = 4
Case "B", "D"
Cll.Interior.ColorIndex = 24
Case ""
Cll.Interior.ColorIndex = xlNone
End Select
Next Cll
End If
End Sub