![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello,
I have the problem bellow, and was told (in another conference) that I have to use VBA to solve it. I have two more questions: 1. How do I create a custom filter rule that will execute the VBA function I create? 2. Will the filter rule run on server, or on (Outlook) client only? Thank you, Martin. "Martin Plechsmid" has written in the news message ... Hello, I use Outlook 2007. I need messages with To: Helpdesk CC: Programmers to move to a special folder, while messages To: Helpdesk, Programmers to leave in the Inbox. How to do that? It seems to me that the filter rules do not distinguish between To and CC fields. Thank you, Martin. |
Ads |
#2
|
|||
|
|||
![]() Outlook VBA runs on the client only. This kind of procedure can be called by a rule: Public Sub WhatEver(Mail as Outlook.MailItem) ' your code here End Sub In the procedure check for the item's To and CC properties, then call its Move function. -- Best regards Michael Bauer - MVP Outlook : Outlook Categories? Category Manager Is Your Tool : VBOffice Reporter for Data Analysis & Reporting : http://www.vboffice.net/product.html?pub=6&lang=en Am Thu, 5 Nov 2009 16:18:20 +0100 schrieb Martin Plechsmid: Hello, I have the problem bellow, and was told (in another conference) that I have to use VBA to solve it. I have two more questions: 1. How do I create a custom filter rule that will execute the VBA function I create? 2. Will the filter rule run on server, or on (Outlook) client only? Thank you, Martin. "Martin Plechsmid" has written in the news message ... Hello, I use Outlook 2007. I need messages with To: Helpdesk CC: Programmers to move to a special folder, while messages To: Helpdesk, Programmers to leave in the Inbox. How to do that? It seems to me that the filter rules do not distinguish between To and CC fields. Thank you, Martin. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Filter rules to distinguish To and CC fields | Martin Plechsmid | Outlook - General Queries | 1 | November 5th 09 01:33 PM |
Filter Rules Management | la90292 | Outlook - General Queries | 9 | March 30th 09 12:58 PM |
To use JUNK FILTER or RULES | Phillip[_2_] | Outlook - General Queries | 2 | February 25th 09 06:57 PM |
Rules Filter | David Vincent-Jones | Outlook - General Queries | 1 | June 20th 06 10:45 PM |
How do I filter out blank fields in printing contact lists? | jccoth | Outlook - Using Contacts | 2 | April 8th 06 07:03 PM |