I have the following code:
ReDim stdy_file_array1(UBound(file_array1), 3)
For x = 1 To UBound(file_array1)
stdy_file_array1(x, 1) = Left(file_array1(x), InStr(1, file_array1(x), "_") - 1)
stdy_file_array1(x, 2) = path1
stdy_file_array1(x, 3) = file_array1(x)
Next x
But for some reason when i try to find the ubound using the following .....i get an error.
MsgBox ("ubound of stdy_file_array1 is " & UBound(stdy_file_array1, 1))
MsgBox ("ubound of stdy_file_array1 is " & UBound(stdy_file_array1, 2))
MsgBox ("ubound of stdy_file_array1 is " & UBound(stdy_file_array1, 3))
So i think i am confused about something or not doing something correct. I view the array above as having 3 cols by x-number of rows.
Bookmarks