dlewis61
asked on
How can I search a word document using more than one term at a time?
Is there a way to search a word document using more than item to search for? I have a long list of numbers I'd like to put in at least 25 at a time, rather than one at a time to find the match in a catalog. What's the most efficient way to do this? The list is in Excel, the search document in Word.
ASKER
that's interesting...where is the macro executed? In excel I suppose? where would I insert the name of the word document? I see the workbook, file path, etc. Thanks
It runs in Word, which is why we have to create an Excel application object.
As it stands, the Word document is the active one.
As it stands, the Word document is the active one.
ASKER
looks like error in find multiples...see attached.
It is a bit tricky to attach files. The sequence is Attach>Browse>Upload.
I think I can guess the problem. I forgot to tell you to set a reference to the Microsoft Excel Object Library. This is done in the Word VBA editor. From the Menu choose Tools, then References.
ASKER
Ok. I'm not really good at VBA...can you provide any other solution?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window