You can easily iterate you collection. The example below is for the special Access TempVars collection, but works with any regular collection.
Dim tv As Long
For tv = 0 To TempVars.Count - 1
Debug.Print TempVars(tv).Name, TempVars(tv).Value
Next tv