RawlinsCross
Active Member
- Joined
- Sep 9, 2016
- Messages
- 437
Good day,
I have a userform in whose code module I make a dictionary. I've declared the dictionary as an global object in a separate module and by late-scripting set the dictionary inside the userform code module. (The idea being that I can use the dictionary throughout the application).
The only thing is that when I open a second userform and try to reference the dictionary made in the first userform, I lose the reference (i.e. dictionary = nothing).
Does anyone have any experience in this as to why the global object 'disappears'? Is it a late-binding thing? (i.e. would this not happen if I used early-binding?)
I have a userform in whose code module I make a dictionary. I've declared the dictionary as an global object in a separate module and by late-scripting set the dictionary inside the userform code module. (The idea being that I can use the dictionary throughout the application).
The only thing is that when I open a second userform and try to reference the dictionary made in the first userform, I lose the reference (i.e. dictionary = nothing).
Does anyone have any experience in this as to why the global object 'disappears'? Is it a late-binding thing? (i.e. would this not happen if I used early-binding?)