K
Kevin L
I have a collection.
I am looping through the collection using a FOR EACH.
Is there a way to access the Key from the current item?
This code obviously does not work, but I am providing it to illustrate the
value that I am trying to get.
Dim MyCollection as New Collection
Dim objItem as Object
FOR EACH objItem in MyCollection
msgbox(objitem.KEY)
NEXT
I am looping through the collection using a FOR EACH.
Is there a way to access the Key from the current item?
This code obviously does not work, but I am providing it to illustrate the
value that I am trying to get.
Dim MyCollection as New Collection
Dim objItem as Object
FOR EACH objItem in MyCollection
msgbox(objitem.KEY)
NEXT