View Single Post
 
Old 09-21-2023, 02:15 PM
jmdonhauser jmdonhauser is offline Windows 11 Office 2016
Novice
 
Join Date: Sep 2023
Posts: 3
jmdonhauser is on a distinguished road
Default Macro to search word document for a several specific numbers and highlight them if they exist

Hi, I am kind of new to writing VBA macros and having difficulty figuring this one out. I am trying to create a macro that searches my word document for several specific numbers and highlight them all if they exist in the document. I know how to do a basic search and highlight a single number, but not several. I am not sure if there's a way to modify a basic search to find several numbers at once or if I truly need a macro. Let's say for example I want to search for 25.222, 25.2666, 25.223 all at once and highlight any instances of them if they exist in the document. Sorry, this might be a noob question. Thanks for any help. It's appreciated.

Jeff
Reply With Quote