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.