just asking, even if without the method .Execute Replace:=wdReplaceAll inside the If...If...End If... End If condition... when i try run your code, it will not highlight at all...


but when, i placed also .Execute Replace:=wdReplaceAll inside the If Condition, same thing happen this will not fix the problem.