I am trying to redo a two-dimensional array. at the very top of my code, I have:
Dim BayQuestionArray() As Variant
Dim numberofbay As Double
I have two buttons, the first button is for initializing the size of the array:
numberofbay = 1
ReDim Preserve BayQuestionArray(numberofbay, 37)
and the second button - to increase the array
ReDim Preserve BayQuestionArray(numberofbay + 1, 37)
The second button does not work, it continues to give me the error message "Runtime" 9 "Delay out of range". Why?
source
share