Sub RemoveAboveBX() Dim oPara As Paragraph For Each oPara In ActiveDocument.Paragraphs If InStr(oPara.Range.Text, "BX") > 0 Then oPara.Previous.Range.Delete End If Next End Sub