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

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -