Benjaminmin
Board Regular
- Joined
- Nov 20, 2009
- Messages
- 116
Hi all,
I am writing to ask for help with a macro to help me perform 2 principal tasks across 60 files I have in a folder:
Ideally the macro would pull this data and collate it into a single sheet in the following format:
Does anyone know if this is possible please?
Many thanks in advance for all your help!
Cheers,
Ben
I am writing to ask for help with a macro to help me perform 2 principal tasks across 60 files I have in a folder:
- Extract cells B6:B8 from each of the 60 files
- Extract the first part of the file name [the date] - each file is named "DD MM YY Report" (e.g. "01 06 2017 report") and I want to extract the "DD MM YY part"
Ideally the macro would pull this data and collate it into a single sheet in the following format:
- For the first book it reads:
- The file name extract/ date in e.g. B1
- The extracted vales into B2:B4
- Then offset by one column for the next one, i.e. paste date into C1 and values into C2:C4
- Repeat for all 60 files in the folder
Does anyone know if this is possible please?
Many thanks in advance for all your help!
Cheers,
Ben