Syntax
EditReplaceHighlight
Remarks
When followed by an EditReplace instruction in which .Format is set to 1, specifies that the replacement text is highlighted. In Word version 6.0, EditReplaceHighlight is unavailable and generates an error.
Example
This example highlights all instances of bold text in the document.
EditFindClearFormatting EditReplaceClearFormatting EditFindFont .Bold = 1 EditReplaceHighlight EditReplace .Find = "", .Replace = "", .Format = 1 .ReplaceAll
See Also
EditFindHighlight, EditReplace, Highlight, HighlightColor, ToolsOptionsRevisions