Maybe this one
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Cell As Range
Dim Rng As Range
Set Rng = Range("K12:AE12")
If Not Intersect(Target, Range("A1:BB65535")) Is Nothing Then
For Each Cell In Rng
With Cell
If .Column = 4 Then .Font.ColorIndex = 1
If .Value = "Black" Then .Font.ColorIndex = 2
If .Value = "Orange" Then .Interior.ColorIndex = 44
If .Value = "Yellow" Then .Interior.ColorIndex = 6
If .Value = "Pink" Then .Interior.ColorIndex = 38
If .Value = "Blue" Then .Interior.ColorIndex = 41
If .Value = "Green" Then .Interior.ColorIndex = 4
If .Value = "Red" Then .Interior.ColorIndex = 3
If .Value = "Black" Then .Interior.ColorIndex = 1
End With
Next Cell
End If
End Sub
Bookmarks