Sub TagNamesMilan() ' Paul Beverley - Version 07.03.24 ' Splits name tagging into surname, given name on two lines myColour = wdYellow Set rng = ActiveDocument.Content oldColour = Options.DefaultHighlightColorIndex Options.DefaultHighlightColorIndex = myColour With rng.Find .ClearFormatting .Replacement.ClearFormatting .Text = "\(*), (*)\" .Wrap = wdFindContinue .Forward = True .Replacement.Text = "\2^p\1" .MatchWildcards = True .Replacement.Highlight = True .Execute Replace:=wdReplaceAll DoEvents End With Options.DefaultHighlightColorIndex = oldColour End Sub