what is the meaning of subscript out of range for array?
Printable View
what is the meaning of subscript out of range for array?
Either you didn't initialize a dynamic array, or you are accessing elements that aren't in the correct range.
if you declare with Dim a(5) you can't use a(6). There are 6 values though.
a(0) thru a(5)