A Microsoft Outlook email forum. Outlook Banter

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 » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

is there a way to not disable a rule with incoming messages



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old October 7th 08, 06:07 PM posted to microsoft.public.outlook.program_vba
Tom[_7_]
external usenet poster
 
Posts: 7
Default is there a way to not disable a rule with incoming messages

I have a simple rule called "incoming", defined as

apply this rule after message arrives,
run incoming.ThisOutlookSession.CustomMailMessageRule

the rule itself simply writes some headers into a folder

sometimes something in the incoming message causes an error in the rule and
OL2003 pops up a messagebox that the Incoming rule has an error and I have
to manually access Rules and checkbox again the Rule

how can I stop this? why wouldn't the On Error not take care of that?


Sub CustomMailMessageRule(Item as MailItem)

On Error GoTo Quit


Quit:
End Sub

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
incoming message rule to kick off vba with a variable [email protected] Outlook and VBA 2 March 21st 08 06:03 PM
Outlook 2003 rule for incoming mails hg[_2_] Outlook - General Queries 4 February 7th 08 06:44 PM
how to disable security check for incoming signed mails Cagdas Ozgenc Outlook - General Queries 0 April 20th 06 07:06 AM
Incoming Rule only allowing messages to 2 recipients through to 1 pprice Outlook - Installation 0 February 9th 06 11:21 PM
Help! Cannot disable validation rule. Chaplain Doug Outlook - Using Forms 2 January 19th 06 12:50 AM


All times are GMT +1. The time now is 02:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.