Returning an dictionary object from a function in VBA -


i have following declaration in function in vba:

set dict = createobject("scripting.dictionary") 

when try return dict using code getdates = dict error. can please?

thanks!

set getdates = dict 

you have use set.


Comments