I use this code to find instances where text in cells is red and then highlight those cells.
Note that I don't want to change the red text, just want to highlight the cell.
Application.FindFormat.Font.Color = 255
Application.ReplaceFormat.Interior.Color = 65535
Range("A:N").Replace What:="", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByColumns, MatchCase:=False, SearchFormat:=True, _
ReplaceFormat:=True
Application.FindFormat.Clear
Application.ReplaceFormat.Clear
The problem is where random text within cells was selected and changed to red font. Is there a way that these cells can be highlighted as well?
Thank you in advance!
Note that I don't want to change the red text, just want to highlight the cell.
Application.FindFormat.Font.Color = 255
Application.ReplaceFormat.Interior.Color = 65535
Range("A:N").Replace What:="", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByColumns, MatchCase:=False, SearchFormat:=True, _
ReplaceFormat:=True
Application.FindFormat.Clear
Application.ReplaceFormat.Clear
The problem is where random text within cells was selected and changed to red font. Is there a way that these cells can be highlighted as well?
Thank you in advance!