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

How to programmatically enable a rule?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 19th 07, 06:10 PM posted to microsoft.public.outlook.program_vba
PW
external usenet poster
 
Posts: 1
Default How to programmatically enable a rule?

I have a rule defined in OL2003. I want to be able to programmatically
enable/disable this rule (ie. effect the same as checking the checkbox next
to the rule's name in the 'Rules and Alerts' window). Anyone know how to do
this?

[background: The rule forwards email to my phone. I want to be able to send
myself an email that (by inviking another rule) will enable this rule (in
case I forgot to enable it before I left the house!)].

Paul.
  #2  
Old April 20th 07, 06:17 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default How to programmatically enable a rule?



You can't do that. Instead write code to replace the rule.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - Categorize Outlook data:
http://www.vboffice.net/product.html...&lang=en&pub=6

Am Thu, 19 Apr 2007 10:10:02 -0700 schrieb PW:

I have a rule defined in OL2003. I want to be able to programmatically
enable/disable this rule (ie. effect the same as checking the checkbox

next
to the rule's name in the 'Rules and Alerts' window). Anyone know how to

do
this?

[background: The rule forwards email to my phone. I want to be able to

send
myself an email that (by inviking another rule) will enable this rule (in
case I forgot to enable it before I left the house!)].

Paul.

 




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
enable and permissions Adeeā„¢ Outlook - Calandaring 0 April 9th 07 03:02 PM
How to enable com addin Rob Outlook - General Queries 2 March 19th 07 05:48 PM
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 11:22 AM
Enable rules for MSN? Richard Lewis Haggard Outlook - General Queries 1 April 4th 06 05:42 PM
enable macros Joanne Outlook and VBA 3 February 24th 06 05:44 PM


All times are GMT +1. The time now is 10:26 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.