Dazzawm
Well-known Member
- Joined
- Jan 24, 2011
- Messages
- 3,783
- Office Version
- 365
- Platform
- Windows
I have a blank sheet open. I would like a code to look in a folder and list the names of each different file in column A of the active sheet I am on. I also need it to look at column AF in each folder and list each different cell data next to the file name in column B, C, D and so on please. They're shouldn't be more than a dozen different, but multiple duplicates where only one is needed in column AF in each file. Thanks.
This is column AF in the first file in the folder called sample1
This is the result on the active sheet, columns B-H and so on with each other file in the folder.
The files are xlsb which have before close codes which need to be ignored.
This is column AF in the first file in the folder called sample1
Description |
Data 1 |
Data 2 |
Data 3 |
Data 4 |
Data 5 |
Data 6 |
Data 7 |
This is the result on the active sheet, columns B-H and so on with each other file in the folder.
File Name | Data In AF | Data In AF | Data In AF | Data In AF | Data In AF | Data In AF | Data In AF |
Sample1 | Data 1 | Data 2 | Data 3 | Data 4 | Data 5 | Data 6 | Data 7 |
The files are xlsb which have before close codes which need to be ignored.
Last edited: