Hi.. Try this.. it will color the "e" character in the usedrange in column G in blue...
Private Sub CommandButton1_Click()
Dim f, x, j As Long
For Each f In Range("G3:G" & Range("G" & Rows.Count).End(xlUp).Row)
For j = 1 To Len(f)
x = Mid(f, j, 1)
If x = "e" Then
Range(f.Address).Characters(Start:=InStr(1, f, x), Length:=1).Font.Color = -4165632
End If
Next j
Next f
End Sub
Ooops.. after this line..
Range(f.Address).Characters(Start:=InStr(1, f, x), Length:=1).Font.Color = -4165632
Add this line to make the character be Bold..
Range(f.Address).Characters(Start:=InStr(1, f, x), Length:=1).Font.Bold = True
Bookmarks