Im trying to make a dynamic nested Type stucture like this.

Type Var2_t
End Type

Type Var1_t
Stuff() As Var2_t
End Type
Dim Var1() As Var1_t

I can't figure out how to redim this.
I tryed:

ReDim Var1(number).Stuff(number)

But it doesn't work. When i fill the Type with values from a File it says "Out of memory". But if i was to make the
Stuff() Array fixed: stuff(314), it works just fine!
I want the Types to be dynamicly redim.

I hope you can help, i have been triying to figure this out for a while now.

Thanks