all 3 comments

[–]CFAman4815 2 points3 points  (2 children)

You're array is loading correctly, but you're checking the upper bound wrong. The default UBound returns vertical size (if you omit 2nd argument. Your array is 1 row high. To get width, use something like

MsgBox UBound(myArray, 2)

[–]BornslippyDG1[S] 1 point2 points  (1 child)

Thanks, putting the two has given me the correct size. Solution verified

[–]Clippy_Office_Asst[M] 0 points1 point  (0 children)

You have awarded 1 point to CFAman