A friend of a friend created the below macro to highlight the first 13 characters in a cell in a different font color. Our system group policy disables macro's. I am able to run the two lines separately in VBA as a workaround. Is there a way to run both lines in VBA concurrently vice separately? Is there a way this can be done in Conditional Formatting? It would also be helpful if I could limit this highlight to 13 numerals as there are a few fields with leading characters. I already tried replacing the word “Characters” with the word “Numerals”. No joy. Thank you for any assistance.
Sub HRC_Highlight()
ActiveSheet.Range("F3:F5000").Characters(Start:=1, Length:=13).Font.Color = -320000
ActiveSheet.Range("P3:P5000").Characters(Start:=1, Length:=13).Font.Color = -16776961
End Sub
Sub HRC_Highlight()
ActiveSheet.Range("F3:F5000").Characters(Start:=1, Length:=13).Font.Color = -320000
ActiveSheet.Range("P3:P5000").Characters(Start:=1, Length:=13).Font.Color = -16776961
End Sub