Using VBA in Word, if I have stored strings in a collection, each with a different Key, is it possible to go through all the members of the collection and retrieve not only the stored string but also the key that accesses the string?
The following code displays the strings of data stored inside "MyCollection":
Dim x as Variant
For each x in MyCollection
What I need is something that will also tell me the keys that access those data.