Ninjagecko
New Member
- Joined
- Mar 30, 2009
- Messages
- 16
Hey,
I'm trying to automate a data processing algorithm that involves searching through folders in Windows Explorer. For archiving purposes, the data files are stored as
Sample folder\date\time\_____.xls
For each sample, there are multiple date folders, each containing multiple time folders. The files at the end of the tree all have the same names. Opening the files in a SINGLE folder is easy enough - what I am hoping to do is, for a given sample, have excel seek out every date/time combination and crunch the files. Conceptually, I'm thinking something like
For Each folder in Sample Folder
For Each folder in date
(load files and run macro)
Next
Next
Is this feasible in VBA? Thanks!
I'm trying to automate a data processing algorithm that involves searching through folders in Windows Explorer. For archiving purposes, the data files are stored as
Sample folder\date\time\_____.xls
For each sample, there are multiple date folders, each containing multiple time folders. The files at the end of the tree all have the same names. Opening the files in a SINGLE folder is easy enough - what I am hoping to do is, for a given sample, have excel seek out every date/time combination and crunch the files. Conceptually, I'm thinking something like
For Each folder in Sample Folder
For Each folder in date
(load files and run macro)
Next
Next
Is this feasible in VBA? Thanks!