Results 1 to 14 of 14

search for specific text in a file and return a value to a cell based on the results

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-06-2012
    Location
    sacramento,calif
    MS-Off Ver
    Excel 2010
    Posts
    217

    search for specific text in a file and return a value to a cell based on the results

    I want Excel 2010 to check a bunch of non-excel files in a folder without opening them for specific texts contained within, if each file contains the text then return a value to a specific cell in a worksheet
    Example: there are 5 files in a folder each of which may contain the text 2009, 2010, 2011 or 2012. When each file is searched, return the matching text as a value to a cell on a worksheet. That is to say list the match down a column on a worksheet for each file.

    application file.search was probably the solution to this prior to 2007, how is it possible to accomplish the above in 2010? I need full code please
    Last edited by JJGF; 01-01-2013 at 12:41 AM.

Thread Information

Users Browsing this Thread

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

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