You have to instantiate them first before you could use them...Originally Posted by winterslam
Code:Private Sub Form_Load() Dim a As Long ReDim Var(1 To 5) As Entity For a = LBound(Var) To UBound(Var) Set Var(a) = New Entity Next Var(1).x = 5 End Sub




Reply With Quote