Iqbal Khan
New Member
- Outlook version
- Outlook 2013 64 bit
- Email Account
- POP3
Hi,
How do I declare a global variable in ThisOutlookSession so that I am able to use the variable value in a class module.
I am using a class module to capture the number of email windows I have opened in outlook and capture the time spent on each of them to view. The Public variable declared in the Outlooksession is used to capture the time when the Item is opened.
Since I am using class module to capture data when each window is closed, I am not able to get the variable value from Outlooksession to Class module when it is closed.
Thanks,
How do I declare a global variable in ThisOutlookSession so that I am able to use the variable value in a class module.
I am using a class module to capture the number of email windows I have opened in outlook and capture the time spent on each of them to view. The Public variable declared in the Outlooksession is used to capture the time when the Item is opened.
Since I am using class module to capture data when each window is closed, I am not able to get the variable value from Outlooksession to Class module when it is closed.
Thanks,