PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming How do I add a script to a rule in Outlook?

Reply

How do I add a script to a rule in Outlook?

 
Thread Tools Rate Thread
Old 03-03-2005, 07:11 PM   #1
=?Utf-8?B?a2FyaW0=?=
Guest
 
Posts: n/a
Default How do I add a script to a rule in Outlook?


When setting a rule on my E-mails in outlook, I could add a script to be run
automatically. the list of scripts is Empty, I used VBScript Editor to create
a macro then tryed to add it to thelist but I couldn't...I don't find any
option to do it!!!

Thank you
  Reply With Quote
Old 04-03-2005, 07:16 AM   #2
Michael Bauer
Guest
 
Posts: n/a
Default Re: How do I add a script to a rule in Outlook?

Hi Karim,

in VBA your code needs to look like this:

Sub YourCode(oMail as MailItem)
' ...
End SUb

--
Viele Grüße
Michael Bauer


"karim" <karim@discussions.microsoft.com> wrote in message
news17789F4-8742-4814-9D82-B95F50B26237@microsoft.com...
> When setting a rule on my E-mails in outlook, I could add a script to

be run
> automatically. the list of scripts is Empty, I used VBScript Editor to

create
> a macro then tryed to add it to thelist but I couldn't...I don't find

any
> option to do it!!!
>
> Thank you


  Reply With Quote
Old 04-03-2005, 03:31 PM   #3
=?Utf-8?B?a2FyaW0=?=
Guest
 
Posts: n/a
Default Re: How do I add a script to a rule in Outlook?

Thanks a lot man
That's what I am looking for

"Michael Bauer" wrote:

> Hi Karim,
>
> in VBA your code needs to look like this:
>
> Sub YourCode(oMail as MailItem)
> ' ...
> End SUb
>
> --
> Viele Grüße
> Michael Bauer
>
>
> "karim" <karim@discussions.microsoft.com> wrote in message
> news17789F4-8742-4814-9D82-B95F50B26237@microsoft.com...
> > When setting a rule on my E-mails in outlook, I could add a script to

> be run
> > automatically. the list of scripts is Empty, I used VBScript Editor to

> create
> > a macro then tryed to add it to thelist but I couldn't...I don't find

> any
> > option to do it!!!
> >
> > Thank you

>
>

  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