Search content and extract relevant data from Multiple Cells of closed Excel files

TKExcel

New Member
Joined
Jun 16, 2015
Messages
1
I have a 4 folder with approximately 24,000 files. I need to be able to retrieve the value of Cell G8 for each of these files and paste it and the file name into a excel spreadsheet

is it possible to create a routine for this?

I need to search for a content inside 5- 6 closed excel files, but these files are in different sub folders.
For e.g.
1. Assume a folder named Test on the desktop containing 2 sub folders- Survey1 and Survey2
My excel files will be present in either of these folders .
\\Test\testfile.xlsx
\\Test\Survey1\Survey1file.xlsx
\\Test\ Survey2\ Survey2file.xlsx

2. I need to search for text e.g. “Brakes” inside any of the cells of these excel files. The output should return me content from two columns of these excel files, namely “Summary”, “Address”. Position of these columns is not fixed in either of the files.

E.g.“Summary” could be at cell C1 of testfile.xlsx OR E1 of Survey1file.xlsx
Similary, Address” could be at cell C4 of testfile.xlsx OR K1 of Survey1file.xlsx

Can we write a macro/ routine to help me achieve the above?
Regards,
TKExcel
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,215,409
Messages
6,124,737
Members
449,185
Latest member
hopkinsr

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