kedaman's solution:

when trying this error occurs in the following code:

Code:
Public Property Get Item(vntIndexKey As Variant) As colbeta
    'used when referencing an element in the collection
    'vntIndexKey contains either the Index or Key to the collection,
    'this is why it is declared as a Variant
    'Syntax: Set foo = x.Item(xyz) or Set foo = x.Item(5)
  Set Item = mCol(vntIndexKey)
End Property
how should i handle this ???


[Edited by Kersey on 09-07-2000 at 05:25 AM]