How to execute macro code depending on which email account the incoming mail is addressed to

Norma Cruz 1 Reputation point
2023-03-29T17:59:34+00:00

I have several email accounts configured in my Outlook (an account for windows issues, one for unix issues, another for network issues and my personal company account), and I want to see if there is any way to determine the execution of one or the other code in a macro, depending on the account to which the incoming mail is sent. Is it possible? Any ideas?

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,359 questions
0 comments No comments
{count} votes