How to Create Custom Rules with VBA in Outlook 2002
Outlook 2002 comes with a fancy Rules Wizard, but you may still have filtering needs that you cannot satisfy with it. In such cases custom rules written in Visual Basic for Applications might help.
Microsoft has a short (maybe too short) knowledge base article detailing the process:
Create Custom Rules with VBA in Outlook 2002
Microsoft has a short (maybe too short) knowledge base article detailing the process:
Source...