Find word in multiple worksheets

newshound12

Active Member
Joined
Feb 19, 2003
Messages
339
Need VBA to find specific word ( Example: Time) in multiple worksheets that are in multiple folders which all are in one folder (Example: 2023).
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
then what?
Is it every file in the folders in several folders? Are they dynamic or always the same folders?
What do you do when you find the word (Example: Time) Will there be more than one instance of this in each worksheet or once it's found in 1 sheet, you can stop with that file.
You really need more information with a much higher level of detail in the body before anyone would be able to help you.
 
Upvote 0
I want to find the latest worksheet the word is found and stop. There are 52 folders in 1 folder. There are multiple worksheets in each of the 52 folders.
 
Upvote 0
It sounds like you wanting a VBA to do exactly what a File search function already does.
1711342811169.png

If you put the word in there it will search the folder and subfolders and tell you which file contains that text, or am I missing something?
 
Upvote 0
it's also available via windows, but glad you were able to solve your issue. Please mark as solved ;)
 
Upvote 0

Forum statistics

Threads
1,215,133
Messages
6,123,233
Members
449,092
Latest member
SCleaveland

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