For x As Integer = 0 To (dateConnected.Count() - 1) With oRng.Find .MatchCase = False .ClearFormatting() .Text = dateConnected(x) With .Replacement .ClearFormatting() .Text = dateConnected(x) .Highlight = Word.WdColor.wdColorTurquoise End With .Execute(Replace:=Word.WdReplace.wdReplaceAll) End With Next
ApplicationInstance.Options.DefaultHighlightColorIndex = WdColorIndex.wdTurquoise
.Highlight = True
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)