Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Search Word files with a list of words or phrases
I have a list of 30+ words and phrases that I need to seach in a bunch of
Word documents, in Office 2000 and Office XP. Is there a way to save this list in a template or some other form so that one can search Word documents without retyping each word and phrase on the list. TIA. -- ....Joe |
#2
|
|||
|
|||
Joe wrote:
I have a list of 30+ words and phrases that I need to seach in a bunch of Word documents, in Office 2000 and Office XP. Is there a way to save this list in a template or some other form so that one can search Word documents without retyping each word and phrase on the list. It's certainly possible to write a macro to search each document for each word/phrase in a list. The article at http://word.mvps.org/FAQs/MacrosVBA/BatchFR.htm shows how to do a Replace All operation for one word or phrase in all the documents in a folder. It could be altered to take input from another document that contains the list, and repeat the search for each item in the list. The big question is, what do you want to do when you find one of the words/phrases in a document? Do you want to do a replacement, or write a list of the found locations to yet another document, or...?? -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#3
|
|||
|
|||
It would be nice to be able to generate a summary for each Word.doc that it
scanned and write each matched word or phrases found with their location in the document, and save it in a summary document or a summary document for each file. -- ....Joe "Jay Freedman" wrote: Joe wrote: I have a list of 30+ words and phrases that I need to seach in a bunch of Word documents, in Office 2000 and Office XP. Is there a way to save this list in a template or some other form so that one can search Word documents without retyping each word and phrase on the list. It's certainly possible to write a macro to search each document for each word/phrase in a list. The article at http://word.mvps.org/FAQs/MacrosVBA/BatchFR.htm shows how to do a Replace All operation for one word or phrase in all the documents in a folder. It could be altered to take input from another document that contains the list, and repeat the search for each item in the list. The big question is, what do you want to do when you find one of the words/phrases in a document? Do you want to do a replacement, or write a list of the found locations to yet another document, or...?? -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i set up template in vbeditor without proggramming language | New Users | |||
Please add an outlining feature like WordPerfect's. | Microsoft Word Help | |||
In Word, how can I see all files (*.*) in "save as"? | New Users | |||
Is there a Fast Search in Word? | New Users | |||
Boiletplates from Word Perfect | Microsoft Word Help |