ThisOutlookSession debug

Status
Not open for further replies.

Andrzej

New Member
Outlook version
Outlook 2010 64 bit
Email Account
POP3
#1
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
 

Andrzej

New Member
Outlook version
Outlook 2010 64 bit
Email Account
POP3
#3
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
 
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
#4
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.
Top