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

why does the Rule get Un-Checked in Outlook 2003?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 9th 07, 05:36 PM posted to microsoft.public.outlook.program_vba
Zoe[_2_]
external usenet poster
 
Posts: 6
Default why does the Rule get Un-Checked in Outlook 2003?

so, there is a small Sub CustomMailMessageRule(Item as MailItem)

every morning, I have to go and check the rule (named Test) as it's listed
on top of all other rules and always unchecked

what process goes and unchecks it ?

the machine is automatically closing OL2003 every night at 04:00 and
restarts itself and restarts OL2003

when I come into the office, the rule is unchecked



  #2  
Old October 9th 07, 05:48 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default why does the Rule get Un-Checked in Outlook 2003?

Usually if a rule ends up unchecked it's because there was an error in your
Sub.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Zoe" wrote in message ...
so, there is a small Sub CustomMailMessageRule(Item as MailItem)

every morning, I have to go and check the rule (named Test) as it's listed
on top of all other rules and always unchecked

what process goes and unchecks it ?

the machine is automatically closing OL2003 every night at 04:00 and
restarts itself and restarts OL2003

when I come into the office, the rule is unchecked




  #3  
Old October 9th 07, 06:31 PM posted to microsoft.public.outlook.program_vba
Zoe[_2_]
external usenet poster
 
Posts: 6
Default why does the Rule get Un-Checked in Outlook 2003?

Ken Slovak wrote:
Usually if a rule ends up unchecked it's because there was an error
in your Sub.


yet it continues to run just fine while I'm in the office

it's the small email logger (with header and sender) I wrote about a few
days ago.

could a temporary unavailability of the network server cause it to error and
uncheck itself? If yes, then would an On Error routine negate the effects of
the unchecking?


  #4  
Old October 9th 07, 07:04 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default why does the Rule get Un-Checked in Outlook 2003?

That could do it. I don't know if an error handler would help, it certainly
should be used in any case as a good practice.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Zoe" wrote in message ...
Ken Slovak wrote:
Usually if a rule ends up unchecked it's because there was an error
in your Sub.


yet it continues to run just fine while I'm in the office

it's the small email logger (with header and sender) I wrote about a few
days ago.

could a temporary unavailability of the network server cause it to error
and uncheck itself? If yes, then would an On Error routine negate the
effects of the unchecking?



  #5  
Old October 9th 07, 09:27 PM posted to microsoft.public.outlook.program_vba
Zoe[_2_]
external usenet poster
 
Posts: 6
Default why does the Rule get Un-Checked in Outlook 2003?

Ken Slovak wrote:
That could do it. I don't know if an error handler would help, it
certainly should be used in any case as a good practice.


Just now, one minute ago, while working on email, a message box popped up

"Rules in Error"

There is no information what is in error and the only option is Close

the test rule was thus unchecked in the Rules list and I had to go back and
manually check it again.

I have an On Error Goto Exit: in the start of the Sub and it's been happily
running all day long
Apparently that is not enough to keep the rule turned on and I wish I could
tell what was the error?


  #6  
Old October 9th 07, 09:46 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default why does the Rule get Un-Checked in Outlook 2003?

Comment out your error handler and see where the code breaks when you do get
an error. An alternative that would also require manual monitoring would be
to set a breakpoint in your code and step the procedure to see where any
errors happen.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Zoe" wrote in message ...
Ken Slovak wrote:
That could do it. I don't know if an error handler would help, it
certainly should be used in any case as a good practice.


Just now, one minute ago, while working on email, a message box popped up

"Rules in Error"

There is no information what is in error and the only option is Close

the test rule was thus unchecked in the Rules list and I had to go back
and manually check it again.

I have an On Error Goto Exit: in the start of the Sub and it's been
happily running all day long
Apparently that is not enough to keep the rule turned on and I wish I
could tell what was the error?



 




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
How to setup a rule to forward rule in Outlook (xp or 2003) to forward emails from a certain domain when app isnt running? KingCronos Outlook - General Queries 7 November 15th 06 12:22 PM
How do I stop Check Names in Outlook? I have checked off the box Hal Kingsley Outlook - Using Contacts 17 July 26th 06 10:59 AM
when I start outlook in office 2003 my mail is not auto checked les006 Outlook - General Queries 1 July 7th 06 03:50 AM
Outlook was not closed properly This file is being checked for pro MS Admin Outlook - Installation 1 July 1st 06 12:16 PM
Mail being checked even though Outlook is closed and exited. Paul M Outlook - General Queries 1 January 27th 06 07:11 AM


All times are GMT +1. The time now is 11:17 AM.


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.