Hello,
I am facing the problem of preparing an excel list of files in folders and subfolders. The problem is that in a specific location (e.g. C: \ Files) I put a certain set of folders, usually 5 polders, then I need to download data from excel files located in these folders and subfolders. I have a macro that retrieves data from folios, but it requires that the macram file be in the last subfolder with excel files, and that the macro would download the list of subfolders from the C: \ Files location. I would like to mention that the depression looks like this: C: \ Files \ Subfolder (usually 5) \ Subfolders (usually 6) \ excel (xlsx) files. A file size would also be useful. Ultimately, I would like the list in excel to be created:
Location Files File size
C: \ Files \ Subfolder 1 \ Subfolder1 | file1.xlsx | 540
C: \ Files \ Subfolder 1 \ Subfolder1 | file2.xlsx | 540
C: \ Files \ Subfolder 1 \ Podfolder2 | file1.xlsx | 540
C: \ Files \ Subfolder 1 \ Subfolder ... | file1.xlsx | 540
C: \ Files \ Subfolder 2 \ Podfolder1 | file1.xlsx | 540
C: \ Files \ Subfolder 2 \ Podfolder2 | file1.xlsx | 540
C: \ Files \ Subfolder 2 \ Subfolder ... | file1.xlsx | 540
C: \ Files \ Subfolder 3 \ Podfolder1 | file1.xlsx | 540
C: \ Files \ Subfolder 3 \ Subfolder ... | file1.xlsx | 540
I am facing the problem of preparing an excel list of files in folders and subfolders. The problem is that in a specific location (e.g. C: \ Files) I put a certain set of folders, usually 5 polders, then I need to download data from excel files located in these folders and subfolders. I have a macro that retrieves data from folios, but it requires that the macram file be in the last subfolder with excel files, and that the macro would download the list of subfolders from the C: \ Files location. I would like to mention that the depression looks like this: C: \ Files \ Subfolder (usually 5) \ Subfolders (usually 6) \ excel (xlsx) files. A file size would also be useful. Ultimately, I would like the list in excel to be created:
Location Files File size
C: \ Files \ Subfolder 1 \ Subfolder1 | file1.xlsx | 540
C: \ Files \ Subfolder 1 \ Subfolder1 | file2.xlsx | 540
C: \ Files \ Subfolder 1 \ Podfolder2 | file1.xlsx | 540
C: \ Files \ Subfolder 1 \ Subfolder ... | file1.xlsx | 540
C: \ Files \ Subfolder 2 \ Podfolder1 | file1.xlsx | 540
C: \ Files \ Subfolder 2 \ Podfolder2 | file1.xlsx | 540
C: \ Files \ Subfolder 2 \ Subfolder ... | file1.xlsx | 540
C: \ Files \ Subfolder 3 \ Podfolder1 | file1.xlsx | 540
C: \ Files \ Subfolder 3 \ Subfolder ... | file1.xlsx | 540