Filter rules to distinguish To and CC fields

  • Thread starter Martin Plechsmid
  • Start date
Status
Not open for further replies.
M

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

news:<uMWnsYgXKHA.4148@TK2MSFTNGP04.phx.gbl>...


> 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.
 
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

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
> news:<uMWnsYgXKHA.4148@TK2MSFTNGP04.phx.gbl>...
>
> > 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.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
R unable to filter tasks when start date is on or before today Using Outlook 3
O Filter-Query Builder-Description - what field name to use? Using Outlook 4
W Macro to Filter Based on Latest Email Outlook VBA and Custom Forms 6
P Prevent Outlook 2016 from using DASL filter Using Outlook 4
Jennifer Murphy Spam filter not working Using Outlook 13
Y Filter unread emails in a search folder vba help Outlook VBA and Custom Forms 0
M How create a Rule to filter sender's email with more that one @ sign Using Outlook 1
M Sorting by Day in Date Column Advanced Filter BCM (Business Contact Manager) 1
Z Task Filter Not Working When I add too many criteria Using Outlook 0
M Filter Conversations - Filter Out Single Emails Outlook VBA and Custom Forms 3
B Looking to filter (or just find/search) for only messages that the sender has sent more than 1 messa Using Outlook 2
B Wanting to run a script that will filter any body that has a russian link in it. Outlook VBA and Custom Forms 5
C Filter/Search emails sent to internal Exchange address only Using Outlook 2
e_a_g_l_e_p_i Is there a good third party SPAM filter that intergrates with Outlook 2010 Using Outlook 7
P How to filter primary contacts in business contact manager BCM (Business Contact Manager) 0
O Outlook Web Access - how to disable spam filter Using Outlook 6
G How to filter by the format of an email address Using Outlook 6
S Mail filter recieved before the last 2 working days Using Outlook 1
Liza Creating a rule in outlook to filter messages Using Outlook 0
F Adding textbox filter to listbox? Outlook VBA and Custom Forms 2
Diane Poremsky Filter and Save Contacts to a CSV File Using Outlook 0
Diane Poremsky Filter and Save Contacts to a CSV File Using Outlook 0
Fozzie Bear HomeTab Email filter "Greyed Out" in Outlook 2013 Exchange Server Administration 3
W Filter condition "contains"/"doesn't contain" doesn't always work Using Outlook 10
B Conditional Formatting:How to use >1 value in a filter Using Outlook 7
J Outlook VBA for Email Filter Outlook VBA and Custom Forms 2
Emerogork How do I set up an "Incoming mail filter" Using Outlook 12
M Filter today's mail Using Outlook 2
M trying to disable junk email filter. completely. Using Outlook 4
J Task Filter for Status OR One Month Using Outlook 4
R Filter Views by Category Using Outlook 2
D Junk Mail filter Using Outlook 1
S Filter by accounts but communicate to all linked contacts BCM (Business Contact Manager) 1
D What is this SQL filter that is applied to my Inbox? Using Outlook 6
J Outlook Contacts: How to filter contact phone numbers from a cti request Using Outlook 1
H Two accounts, Junk email filter only works on one account, office 2010, pop3 Using Outlook 5
D How Would I Write This Filter? Using Outlook 3
N Filter end date works differently in OL'07/OL'10 vs OL'03? Hello?! Using Outlook 12
williamlambton Filter which removes Display Names from incoming emails. Using Outlook 2
J How to filter by address fragment (e.g. "@domain.com") with advanced find? Using Outlook 2
L Need a good email filter Using Outlook 2
P BCM Review & Filter BCM (Business Contact Manager) 1
M DASL Filter function? Outlook VBA and Custom Forms 3
M DASL Filter function? Outlook VBA and Custom Forms 3
M Today(S) function in DASL Filter Outlook VBA and Custom Forms 1
M Today(S) function in DASL Filter Outlook VBA and Custom Forms 1
M Create search folder filter that converts UTC time to local? Outlook VBA and Custom Forms 9
E DASL Filter doesn't work when defined programatically Outlook VBA and Custom Forms 1
H Outlook 2007 SQL syntax to filter views of tasks and todo items Outlook VBA and Custom Forms 1
K Can I filter by fields 'containing' specific words? BCM (Business Contact Manager) 1

Similar threads

Back
Top