Hello all,
I am trying to create a Dictionary of dictionaries in VBA. All I do is declare two dictionaries, one temporary one, and add the temporary dictionary to the main one recursively.
The dictionaries are created fine, and i can access their values without any problems.
What I want to do however is to pass the (low-level) dictionary to a function and have it access its data. But I can't seem to be able to do that. I have tried passing it as maindict(0), maindict.Items( 0), maindict.item(0 ) but it always comes up empty at the other end.
Does anyone have any idea how to solve this?
Thanks you very much for your help.
I am trying to create a Dictionary of dictionaries in VBA. All I do is declare two dictionaries, one temporary one, and add the temporary dictionary to the main one recursively.
The dictionaries are created fine, and i can access their values without any problems.
What I want to do however is to pass the (low-level) dictionary to a function and have it access its data. But I can't seem to be able to do that. I have tried passing it as maindict(0), maindict.Items( 0), maindict.item(0 ) but it always comes up empty at the other end.
Does anyone have any idea how to solve this?
Thanks you very much for your help.