CTRL F a folder with multiple excel workbooks for search term without opening files

CoolioT

New Member
Joined
Jul 6, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
Hi All- I’ve been searching the web and found parts of what I am trying to do from several answers, but am still lost. I know little about vba coding. Here’s what I am trying to do (with the help of a lot of research and other peoples ideas, I’ve just combined them to what I am looking for):
I have a folder with over 400 excel files. Much like searching in a workbook or sheet, I want to do a ctrl+F in the folder to search on a word or name and tell me which file(s) have the search term. Right now, I am clicking on each file and doing a ctrl+F (and it’s so time consuming, some of the files have over 44k rows) I seen where someone created a summary for their output, so I would like to have a summary type output which would have the 1. Search word 2. Workbook name 3. Sheet number 4. Row and column 5. Link to the file (if possible). In some cases there will be positive hits in more than one file and sheet, I’d like to have those listed, so long as it’s not a duplicate. I’d also just be happy with just knowing which of the 400 files have the search term in and I can open it myself and do another ctrl+F within each workbook (that at least saves me the time of opening every single file). Thank you all for your help and if you need more clarification, just let me know.

thanks,
Lucy
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
If your folder is indexed, the built in Windows search function (in Windows Explorer) seems to be able to search all the files for text within them, and list the matching files.
That is a lot quicker than opening 400 files (even programmatically)
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top