VBA: Dictionary items to string array? -


what trying straightforward. want list of items (values) in dictionary, , save them in array of strings.

i'd guess code work:

sub printfilters(byval crit dictionary)     dim i() string     = crit.items()     ' stuff end sub 

however, getting type mismatch on third line. guessing crit.items()'s return value kind of list, not array. msdn pages not mention method's return value's type is, though.

is there proper way this?

i think variant type try this:

sub printfilters(byval crit dictionary)     dim variant     = crit.items()     ' stuff end sub 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -