ThisOutlookSession debug

Status
Not open for further replies.

Andrzej

Member
Outlook version
Outlook 2010 64 bit
Email Account
POP3
Dear Forum Users,
Does anyone know how to debug the code written in ThisOutlookSession module?
I am using MsgBox function to catch the bug but it's very insufficient method...
Regards,
Andrzej
 
Dear Diane,
Unfortunately I still cannot debug the code. I need relatively simple answer:
What is the name of rule executed? How to read rules object name?
The only object I have in ThisOutlookSession is mailitem ...

Andrzej
 
The macro at Create a List of Rules shows how to read rules using vba. Not sure what code you need to get the name of a specific rule though. Sorry.

If the code is complicated, an error handler that writes the line name and other information to the immediate window or a text file could be helpful. I don't think i have any code samples that do that though.
 
Status
Not open for further replies.

Similar threads

Back
Top