You haven't assigned the number of elements in the second dimension of the array:
Dim a(20)() As Integer
either Dim a(20)(10) As Integer ' For example 10
or later in the code ReDim a(20)(10)
or from a variable ReDim a(20)(SomeVariable)
Teme64
Veteran Poster
1,031 posts since Aug 2008
Reputation Points: 218
Solved Threads: 203