oleção @VBA: lista de chaves
epois que adiciono alguns valores à coleção VBA, existe alguma maneira de manter a lista de todas as chave
Por exempl
Dim coll as new Collection
Dim str1, str2, str3
str1="first string"
str2="second string"
str3="third string"
coll.add str1, "first key"
coll.add str2, "second key"
coll.add str3, "third key"
Sei como manter a lista de strings:
first string
second string
third string
Uma vez mais: existe alguma maneira de reter as chave
first key
second key
third key
Nota: Estou usando VBA através do AutoCAD 2007