Hello,
Hopefully this will be a simple question, but does anyone know how to copy one dictionary into another? I tried this code, but it doesn't work:
Anyone have any idea?
Thanks!
-Mark
Hopefully this will be a simple question, but does anyone know how to copy one dictionary into another? I tried this code, but it doesn't work:
Code:
Dim dictionary1
Set dictionary1 = CreateObject("Scripting.Dictionary")
Dim dictionary2
Set dictionary2 = CreateObject("Scripting.Dictionary")
dictionary2.Add("1","Test")
Set dictionary1 = dictionary2
Anyone have any idea?
Thanks!
-Mark