+ Reply to Thread
Results 1 to 10 of 10

Search all excel files

  1. #1
    Registered User
    Join Date
    12-11-2016
    Location
    orlando
    MS-Off Ver
    home and student 2010
    Posts
    7

    Search all excel files

    I've BEEN WORKING ON A PROJECT FOR OVER A YEAR AND HAVE DATA STORED IN A NUMBER OF FILES.
    I AM TRYING TO SPECIFICALLY LOCATE THE FILE THAT CONTAINS REFERENCE TO BOX 130.
    SURELY, I DONT HAVE TO MANUALLY SEARCH 100 FILES.
    IS THERE SOME WAY TO SEARCH ALL THE PROJECT FILES AT ONCE?
    MANY THANKS

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: Search all excel files

    .
    .
    From this site: http://excel.tips.net/T005598_Search...Workbooks.html


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-11-2016
    Location
    orlando
    MS-Off Ver
    home and student 2010
    Posts
    7

    Re: Search all excel files

    Thank you for the prompt reply
    unfortunately. I dont know how to implement your instructions
    i am not well versed in excel
    if i copy the code to the clipboard, what do i do with it?
    Where do i paste it?

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,908

    Re: Search all excel files

    Also look at a utility called FileSeek. There are free and paid versions. I think it can peer into Excel files for strings.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: Search all excel files

    See the attached:

    The code goes into a routine module. What directory are you wanting to search ... what term are you looking to find ?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-11-2016
    Location
    orlando
    MS-Off Ver
    home and student 2010
    Posts
    7

    Re: Search all excel files

    What is a routine module?
    I am specifically looking for reference to Box 130.

  7. #7
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: Search all excel files

    The attachment is set to go. The code is already in place.

    What directory is the file located and .... is there data in Box 130 ? The attached project won't search for a Box - it will search for any data that might be in that box.
    In other words, if the box contains the word "Money", the program should be told to search for 'Money'. If the term in the box is "12345" then the search term should
    by '12345'.

    Open the file, then go into the VB Editor and click on MODULE (located on the left side of the window.

    Look for this coding in the module:

    Please Login or Register  to view this content.

    Then go back to Sheet 1 and press the button.

  8. #8
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: Search all excel files

    Forum acting up again. Double post.

  9. #9
    Registered User
    Join Date
    12-11-2016
    Location
    orlando
    MS-Off Ver
    home and student 2010
    Posts
    7

    Re: Search all excel files

    Thx for trying so hard to help me, fellow Tar Heel. We have a home in Burnsville, north of Asheville, where we spend our summers. But, I digress...
    I'm exhausted and ready for bed. I'm usually up about 5 am, so in the morning, when I'm fresh and caffeinated, I'll give your method a try.
    Again, thanks!

  10. #10
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: Search all excel files

    No problem. I live about 60 miles south of Asheville.

    Merry Christmas !

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Is it possible??? Using Excel to search files on a desktop folder
    By philion_91 in forum Excel General
    Replies: 10
    Last Post: 07-27-2016, 12:04 PM
  2. Search Sheet Names Across Excel Files
    By vivanta in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-21-2013, 09:56 AM
  3. Replies: 1
    Last Post: 06-05-2012, 01:39 PM
  4. Search for a word in many excel files at once
    By rowrow in forum Excel General
    Replies: 4
    Last Post: 07-20-2011, 03:59 AM
  5. Search folder for excel files.
    By endoskeleton in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-27-2011, 03:31 PM
  6. Getting Excel to search through notepad files
    By Ang12345 in forum Excel General
    Replies: 4
    Last Post: 01-19-2010, 05:08 PM
  7. Search folder for all excel files
    By Schwizer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2007, 03:24 PM

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