BikeToWork
Programmer
I want to use a two dimensional array to pull file properties such as Date Created, Size, etc. for a given file using the filesystem object in vba code. The first dimension of the array is the index of the file number in the directory (0,1,2,3, etc.). How can one redim preserve the first dimension of the array? I don't know in advance how big the first dimension of the array is going to be although the second dimension will be the same size every time. Does anyone have code for how to loop through files in a directory using the filesystem object in vba and save the filename and properties to a table? Thanks in advance for any help.