Originally Posted by DivinationX
How do i code such that, the filename that is captures will be stored into an array of strings? Thanks!
You need to declare an undimensioned array, and then initialize it at the top:
then replace the output portion:
with these two lines:
redim Preserve Myresults(ubound(Myresults)+1)
This will leave you with an array full of the results and one empty slot at the end.