Array size exceeds maximum limit
The total storage space in memory of the dynamic array exceeds the allowable maximum of 64K. For example:
ReDim MyArr(-20000 To 20000) As Integer
' This declares an array with 40,001 elements of 2 bytes each.
' The declared array size is greater than 64K.
Use the ReDim statement to decrease the array size.