Hi, put this in the code module for Sheet2(Cases), and remove the conditional formatting from the Cases sheet. Adjust the RGB values as desired.
Private Sub Worksheet_Change(ByVal Target As Range)
Call Set_Character_Color
End Sub
Sub Set_Character_Color()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("CASES")
Dim nLR As Double
nLR = ActiveSheet.Cells(Rows.Count, "D").End(xlUp).Row
For x = 3 To nLR
For y = 1 To Len(ws.Cells(x, 4))
With ws.Cells(x, 4).Characters(Start:=y, Length:=1).Font
If Mid(ws.Cells(x, 4).Value, y, 1) Like "E" Then .Color = RGB(160, 32, 240)
If Mid(ws.Cells(x, 4).Value, y, 1) Like "P" Then .Color = RGB(0, 0, 255)
If Mid(ws.Cells(x, 4).Value, y, 1) Like "R" Then .Color = RGB(0, 255, 0)
If Mid(ws.Cells(x, 4).Value, y, 1) Like "M" Then .Color = RGB(255, 153, 51)
End With
Next y
Next x
End Sub
Bookmarks