Click to See Complete Forum and Search --> : ubound and a list of folders


zmaker5
December 14th, 2009, 07:16 PM
Short story is I have an IIS webpage and I need it to automatically find the "newest" directory in a set of folders that are created by date, that is

startfolder/year/month/day

so I have it pull the list of subfolders at the top level and move down based on what's the last one in the list

however ubound complains that there's an invalid number of parameters, I'll post the exact code when I have it in front of me again, but does anyone have a suggestion?

The only workaround I've found so far is just to do a for each on one variable so that the last spot in the subfolders array ends up in the variable and pass that along.