A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Outlook » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Only the specific words -rule



 
 
Thread Tools Display Modes
  #1  
Old November 13th, 2008, 01:07 PM posted to microsoft.public.outlook.general
-Hannu
external usenet poster
 
Posts: 1
Default Only the specific words -rule

Hello.
Can I create a rule in Outlook 2003 that filters messages by exact phrase in
the message subject like "Test message" but not like " Test Message".

I mean , if there is anything else in the message subject than the filter
phrase (e.g. "Test message" ), the rule is not taking the action to the
message.

-Hannu
  #2  
Old November 13th, 2008, 03:47 PM posted to microsoft.public.outlook.general
Brian Tillman [MVP - Outlook]
external usenet poster
 
Posts: 10,888
Default Only the specific words -rule

"-Hannu" wrote in message
news
Can I create a rule in Outlook 2003 that filters messages by exact phrase
in
the message subject like "Test message" but not like " Test Message".


Not really. Rules look for the string anywhere in the field you're
searching. Judicious use of the exceptions could mitigate this (use "except
with " test" in the subject for your example).
--
Brian Tillman [MVP-Outlook]

  #3  
Old November 14th, 2008, 12:10 AM posted to microsoft.public.outlook.general
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,346
Default Only the specific words -rule



You could do that with VBA. In principle, the Run-a-Script-Rule would look
like this:

Public MyRule(Mail as Outlook.MailItem)
If Mail.Subject = "whatever" Then
....
Endif
End Sub

The rest depends on what you want the rule to do.

--
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, 13 Nov 2008 05:07:01 -0800 schrieb -Hannu:

Hello.
Can I create a rule in Outlook 2003 that filters messages by exact phrase

in
the message subject like "Test message" but not like " Test Message".

I mean , if there is anything else in the message subject than the filter
phrase (e.g. "Test message" ), the rule is not taking the action to the
message.

-Hannu

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.