Is there a way to change the value of an element in a VB6 collection?
Code:
Dim MyCollection as New Collection
MyCollection.Add "zero"
MyCollection.Add "one"
MyCollection.Add "two"
'''now I'll try and change an item in the collection
MyCollection(1) = Text1.Text '''this line doesn't work