open each file in a folder on desktop and create a report if conditions are met

steve400243

Active Member
Joined
Sep 15, 2016
Messages
429
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello Group, I am looking for a way to open each file in a folder on my desktop. Folder Name is 'Open Files'. And for example if The date in Cell H4 in each File is in the month selected, for Example August 2021. I need it to copy data from cell C3 from each file and post to a new excel file and save on my desktop. If the Date is not in the month selected, or blank, do nothing. I can have several hundred files in this folder to be opened and checked for the specific cells noted. Hope that makes sense. Thank you for the help.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
A bit more information for what I am Trying to get to here. The report File - Devan Dates would be placed in the file on my desktop. I would then select August 2021 for example from the drop down list. The macro would then open each file and look for any file with a devan date in August 2021 noted in cell H4. If yes the data in cell C3 would be listed out in the Devan Dates File. Hope this gives a better understanding of my needs. Thank you.

Devan Dates.xlsm
ABCDEFG
1Aug-2021
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Sheet1
Cells with Data Validation
CellAllowCriteria
F1List=Sheet2!$A$1:$A$24
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,665
Members
449,114
Latest member
aides

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