Consulting

Results 1 to 2 of 2

Thread: "Run a script" as part of a rule

  1. #1
    VBAX Mentor
    Joined
    Nov 2008
    Posts
    305
    Location

    "Run a script" as part of a rule

    Hi I'm running Outlook 2003.
    I want to run a script when a message with a certain subject arrives.
    In the rules and alerts there is a function called "run a script" however if I select this, the box that is shown is empty, and doesn't show any of the marcos that I've created for "ThisOutlookSession".
    Why?
    and how do I get it run my marco?
    Thanks

  2. #2
    VBAX Master
    Joined
    Jul 2006
    Location
    Belgium
    Posts
    1,286
    Location
    [VBA]Sub save_newmails_txt(myitem As Outlook.MailItem)
    'now you can choose a script called save_newmails_txt
    End Sub[/VBA]
    You have to add the red text to your sub.

    Charlize

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •