Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. Execute Replace:=wdReplaceAll, Forward:=True, FindText:="", _ Set rngTemp = ActiveDocument.Range(Start:=0, End:=0) This example finds all instances of highlighted text in the active document and removes the highlight formatting by setting the Highlight property of the Replacement object to False. The wdUndefined value can be used with the Find object to ignore the state of highlight formatting in the selection or range that is searched. The Highlight property can return or be set to True, False, or wdUndefined. ![]() SyntaxĮxpression A variable that represents a ' Find' object. ![]() Format and edit Word documents with these keyboard shortcuts. ![]() True if highlight formatting is included in the find criteria. Time-saving Microsoft Word keyboard shortcuts to highlight and select text in a document.
0 Comments
Leave a Reply. |