PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Activation of rules [SHA]

Reply

Activation of rules [SHA]

 
Thread Tools Rate Thread
Old 04-08-2004, 01:10 PM   #1
Salvador Hernandez
Guest
 
Posts: n/a
Default Activation of rules [SHA]


Hi,

I would like to develop a routine to enable/disable a
rule, let's say its name is 'Rule_1', usinng VBScript. I
need to disable Rule_1 at 9 am, and enable it at 7 pm.
How can I enable/disable "Rule_1"?

Thanks,
Salvador Hernández
  Reply With Quote
Old 13-08-2004, 12:59 AM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Activation of rules [SHA]

You'd have to use the Rule.dll COM component and CDO 1.21. See
http://www.outlookcode.com/d/exstech.htm for references.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Salvador Hernandez" <anonymous@discussions.microsoft.com> wrote in message
news:c27901c47a1c$1878cf20$a501280a@phx.gbl...
Hi,

I would like to develop a routine to enable/disable a
rule, let's say its name is 'Rule_1', usinng VBScript. I
need to disable Rule_1 at 9 am, and enable it at 7 pm.
How can I enable/disable "Rule_1"?

Thanks,
Salvador Hernández


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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