RE: Macro to Run Rules

"Excel VBA Help"


Play Friv Now - Play Friv Games
Go Back   The Code Cage Forums > Microsoft Topics > Microsoft Outlook Forum
Our Info Pages:-
The Code Cage - Microsoft Office help


Microsoft Outlook Forum Members, post questions in this forum if they are related to using Microsoft Outlook, this includes Mail, Calendars, Forms & Macro's etc.

New Reply
Thread Tools Rate Thread Display Modes
Unread 17th March 2010, 12:27
DLGolfs's Avatar
Newsgroup Contributor
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default RE: Macro to Run Rules
     Outlook: VBA   

------ Register to get rid of these "In Post" ads! ------

Category: Outlook: VBA   

I have OUtlook 2007, I know nothing about VBA and would appreciate it if you
would write a macro that would run a rule. I have the rule set up to run
first, but it does not run, I have to run it automatically, I don't know why
it does not run, all the other rules run. They are all set to run from the
INbox, this one is set up to run in the junk file.

I get 3000 spam a day, I set up a rule that, depending on a specific word in
the subject line, it will delete the message when the rule is run. I can run
it manually but it is a pain. I want to put a button on my toolbar to run the
rule with one click.
I was thinking of a macro but maybe there is another way?

"Sue Mosher [MVP-Outlook]" wrote:

> You haven't found anything, because that's not possible. Outlook 2007 is the
> first version that provides a method to run rules programmatically.
> --
> Sue Mosher, Outlook MVP
> Author of Microsoft Outlook Programming: Jumpstart
> for Administrators, Power Users, and Developers
> "ausfilminstitute" wrote:
> > Hi There,
> >
> > We use Outlook 2003 and Exchange Server 2003.
> >
> > I want to create a macro where a set of Rules are run. They need to be run
> > on a number of mailboxes. The user has two mailboxes "RSVP" and "Ticketing"
> > which are secondary to their primary mailbox "Event Assistant". There are 6
> > rules each for "RSVP" and "Ticketing". I have set the rules up, however when
> > I want to run each one, I have to select the folder to run it in for each
> > rule, which is always defaulted to the Inbox. This takes time, and I'd love
> > to create a macro that does it all in one go.
> >
> > I haven't been able to find any code to write a macro which gives the
> > conditions for running rules, can someone please provide some guidance on
> > this.
> >
> > Thanks!
> > Jane

The Code Cage Advertisment

To stop seeing these ads and get other benefits check This page!

New Reply
The Code Cage at Facebookhe Code Cage at Twitter

macro, rules, run

Thread Tools
Display Modes 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

The Code Cage Affilliates tested by McAfee Security tested by McAfee Security

All times are GMT +1. The time now is 03:39.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
No part of this board, functionality or creatives may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
Copyright ©2008 - , Simon lloyd.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application they represent and are used with permission from Microsoft
Cultural Forum | Study at Malaysian University