+ Reply to Thread
Results 1 to 2 of 2

Searching through a Word documents for specific words

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    Verona, New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    22

    Searching through a Word documents for specific words

    Hi,

    I am working on a Word macro that will open all Word documents in a folder, search through each to find specific words and if those words are found in any of the Word documents, list the Word Document file name (or path) in an Excel spreadsheet. Any suggestions on how to do this? I was thinking of listing the specific words in another Excel spreadsheet or Word document to be checked against.

    Thanks.

  2. #2
    Forum Guru macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,466

    Re: Searching through a Word documents for specific words

    For a Word macro to search the current Word document for words listed in an Excel workbook, see: http://www.excelforum.com/word-forma...e-in-word.html
    Looping through all Word documents in a folder and reporting the found words back to an Excel workbook would require considerably more code.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1