Sub test() Dim oPara As Paragraph For Each oPara In ActiveDocument.Paragraphs If oPara.Range.Characters(1) <> "<" Then oPara.Range.HighlightColorIndex = wdYellow Next oPara End Sub