J
Jiho Han
I have a global variable in my macro project, which gets set by a macro function
if it is Nothing. Depending on this variable, a login form is shown for
the user to login, etc.
When does the global variable get cleaned up? When I run the macro subsequently,
sometimes the variable is still intact, and sometimes, it's not, so it gets
recreated.
Should the macro not depend on any existing state when it runs, so that each
run of the macro is an atomic transaction? If so, what is a good place to
store a session (current outlook session, until the outlok closes) level
information?
Thanks
Jiho Han
Senior Software Engineer
Infinity Info Systems
The Sales Technology Experts
Tel: 212.563.4400 x216
Fax: 212.760.0540
(e-mail address removed)
www.infinityinfo.com
if it is Nothing. Depending on this variable, a login form is shown for
the user to login, etc.
When does the global variable get cleaned up? When I run the macro subsequently,
sometimes the variable is still intact, and sometimes, it's not, so it gets
recreated.
Should the macro not depend on any existing state when it runs, so that each
run of the macro is an atomic transaction? If so, what is a good place to
store a session (current outlook session, until the outlok closes) level
information?
Thanks
Jiho Han
Senior Software Engineer
Infinity Info Systems
The Sales Technology Experts
Tel: 212.563.4400 x216
Fax: 212.760.0540
(e-mail address removed)
www.infinityinfo.com