Dim CharCount As Long
Dim i As Integer
CharCount = ActiveDocument.Characters.Count ' Count number of characters
Selection.HomeKey Unit:=wdStory ' Go to start of document
For i = 1 To CharCount ' Step through each character
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend ' Select character
If Asc(Selection) < 48 Then ' Check if asc value is less than 48
Selection. Range.HighlightColorIndex = wdYellow ' If less than 48 highlight in yellow
End If
Selection.MoveRight Unit:=wdCharacter, Count:=1 ' Move to next character
Next