Worked a treat!
Many thanks for the tip.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Searching Word docs
Does anybody know a search program that will allow me to search Word docs, in folders, for text strings and allow me to paste the results into a Word doc? I have about 1500 docs to search.
All I want to know is the file name of the dcoument the text string occurs in. I have found a few progs in shareware and they work ok but pasting the results into a Word doc that I can e-mail or save to file is another thing entirely.
How about using the advanced tab on Windows Explorer Find Files to get a list of the files containing the text you are interested in then using ExpPrint (a shareware directory print facility) to print the list to a text file, which will be readable in Word.
Stuck
You can get ExpPrint from http://www.jddesign.co.uk
>It looks useful –
OK. I wrote a Word/VBA ap called “Files” which has a GUI that allows you to specify files (what apth, what extent, size range, date range etc) and then processes each file by applying a macro ‘Process” to each file.
You the user can write a simple macro “Process” which will get executed as each document becomes active.
You would need to write (If I have understood your initial post) some code that would serach the active.document for a string, select some text, copy it to clipboard, close the document, and paste the clipboard to the foot of an accumulating document. You can record (Tools, Macro, record) most of that in about two minutes.
My reference to the attached Examples was to give you an idea of what can be done, once you can attack a slew of files at once.
If you want to experiment, you can download Files.dot from my web page.
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications