Open hammrxu opened 2 years ago
i write two objects inside one subroutine
Your second Print shows thatKey
is blank or empty. So no surprise that there is no email.
The Locals window will only show you keys. You can use VBA-JSON to get a dump of your dictionaries:
Debug.Print "mydict : "; JsonConverter.ConvertToJson(mydict,2)
Some of your posted code may have been lost: 3-backticks should be on their own line. Please post the creation and debugging code.
If you have already solved your problem, please close this issue.
I have two dictoinary object, mydict and mydict2. I have customer email and customer address to store, mydict stores email as key, address as value. mydict2 store address as key, email as value when mydict.exist(a record). I look at locals window. the records are well store inside mydict and mydict2. and it is accessible for mydict, but not for mydict2.
when i debug mydict with debug.print