How do you list the keys in a collection?
For instance:
dim col as new collection
dim v as variant
col.add "item1", "key1"
col.add "item2", "key2"
for each v in col.keys
msgbox "key: " & v
next
would display two message boxes:
"key: key1"
and
"key: key2"
What's the equivalent of col.keys in the code above?
Thanks,
-Venkman
For instance:
dim col as new collection
dim v as variant
col.add "item1", "key1"
col.add "item2", "key2"
for each v in col.keys
msgbox "key: " & v
next
would display two message boxes:
"key: key1"
and
"key: key2"
What's the equivalent of col.keys in the code above?
Thanks,
-Venkman