Thanks for your help!
But in AttachMate Extra! Macro Editor V6.7, it can not run correctly.
' *********************************
Dim dic As Object
Dim keyColl, i
Set dic = CreateObject("Scripting.Dictionary")
dic.Add "a", "1"
dic.Add "b", "2"
dic.Add "c", "3"
keyColl = dic.Keys
For i = 0...
Dim dic As Object
Dim keyColl As Object
Set dic = CreateObject("Scripting.Dictionary")
dic.Add "a", "1"
dic.Add "b", "2"
dic.Add "c", "3"
keyColl = dic.Keys ' Prompt "Object method returned an unsupported data type"
How to get keys collection from dictionary?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.