I define a type
Type Change
nextChanges() As Integer
nextNum As Integer
prevChanges() As Integer
prevNum As Integer
End Type
and an array of type Change
Dim myChanges() as Change
when I fill in data to myChanges like
myChanges(index).nextChanges(subIndex) = ***
It always says "subscript out range". I checked that the index is 1
and subIndex is 10. What't the reason for this?
thank.
Bookmarks