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

Macro to run Rules in batch



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 10th 07, 10:34 PM posted to microsoft.public.outlook.program_vba
bman342
external usenet poster
 
Posts: 4
Default Macro to run Rules in batch

I have about 40+ newsletters I subscribe to. I have set up Rules for them in
Outlook, so that they are automatically moved from my Inbox to their
respective folder when they arrive.

What I'd like to be able to do: Turn the Rules off, so the newsletters stay
in my inbox. Then turn the Rules back on when I choose, and automatically
have all the newsletters filed in their respective folders. The only way to
do this now, is to go into each Rule individually, and execute it.

Unfortunately there is no recordable macros for Outlook, which for me would
be the easiest.

Anyone have some VBA code that I could customize for what I am trying to do?
Thanks.
Ads
  #2  
Old March 11th 07, 01:18 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Macro to run Rules in batch

Rules can be run programmatically only in Outlook 2007. Is that what you have?

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

"bman342" wrote in message ...
I have about 40+ newsletters I subscribe to. I have set up Rules for them in
Outlook, so that they are automatically moved from my Inbox to their
respective folder when they arrive.

What I'd like to be able to do: Turn the Rules off, so the newsletters stay
in my inbox. Then turn the Rules back on when I choose, and automatically
have all the newsletters filed in their respective folders. The only way to
do this now, is to go into each Rule individually, and execute it.

Unfortunately there is no recordable macros for Outlook, which for me would
be the easiest.

Anyone have some VBA code that I could customize for what I am trying to do?
Thanks.

  #3  
Old March 11th 07, 07:20 AM posted to microsoft.public.outlook.program_vba
bman342
external usenet poster
 
Posts: 4
Default Macro to run Rules in batch

Sue:

No, I've got '03. Guess I am SOL until I upgrade. And even then I need to
track down some code.

Thanks,

-b

"Sue Mosher [MVP-Outlook]" wrote:

Rules can be run programmatically only in Outlook 2007. Is that what you have?

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

"bman342" wrote in message ...
I have about 40+ newsletters I subscribe to. I have set up Rules for them in
Outlook, so that they are automatically moved from my Inbox to their
respective folder when they arrive.

What I'd like to be able to do: Turn the Rules off, so the newsletters stay
in my inbox. Then turn the Rules back on when I choose, and automatically
have all the newsletters filed in their respective folders. The only way to
do this now, is to go into each Rule individually, and execute it.

Unfortunately there is no recordable macros for Outlook, which for me would
be the easiest.

Anyone have some VBA code that I could customize for what I am trying to do?
Thanks.


  #4  
Old March 11th 07, 01:48 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Macro to run Rules in batch

The code for Outlook 2007 is well documented, both in Help and in a sample at http://www.outlookcode.com/codedetail.aspx?id=1266

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

"bman342" wrote in message ...
Sue:

No, I've got '03. Guess I am SOL until I upgrade. And even then I need to
track down some code.

Thanks,

-b

"Sue Mosher [MVP-Outlook]" wrote:

Rules can be run programmatically only in Outlook 2007. Is that what you have?

"bman342" wrote in message ...
I have about 40+ newsletters I subscribe to. I have set up Rules for them in
Outlook, so that they are automatically moved from my Inbox to their
respective folder when they arrive.

What I'd like to be able to do: Turn the Rules off, so the newsletters stay
in my inbox. Then turn the Rules back on when I choose, and automatically
have all the newsletters filed in their respective folders. The only way to
do this now, is to go into each Rule individually, and execute it.

Unfortunately there is no recordable macros for Outlook, which for me would
be the easiest.

Anyone have some VBA code that I could customize for what I am trying to do?
Thanks.


  #5  
Old March 14th 07, 06:16 PM posted to microsoft.public.outlook.program_vba
Indian Idol
external usenet poster
 
Posts: 1
Default Macro to run Rules in batch

I tried to create a custom action in outlook 2003 and it worked for me. You
may
use the help link to find details on how to do this.
http://support.microsoft.com/kb/292063/EN-US/

I hope this will help you.

"Sue Mosher [MVP-Outlook]" wrote:

The code for Outlook 2007 is well documented, both in Help and in a sample at http://www.outlookcode.com/codedetail.aspx?id=1266

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

"bman342" wrote in message ...
Sue:

No, I've got '03. Guess I am SOL until I upgrade. And even then I need to
track down some code.

Thanks,

-b

"Sue Mosher [MVP-Outlook]" wrote:

Rules can be run programmatically only in Outlook 2007. Is that what you have?

"bman342" wrote in message ...
I have about 40+ newsletters I subscribe to. I have set up Rules for them in
Outlook, so that they are automatically moved from my Inbox to their
respective folder when they arrive.

What I'd like to be able to do: Turn the Rules off, so the newsletters stay
in my inbox. Then turn the Rules back on when I choose, and automatically
have all the newsletters filed in their respective folders. The only way to
do this now, is to go into each Rule individually, and execute it.

Unfortunately there is no recordable macros for Outlook, which for me would
be the easiest.

Anyone have some VBA code that I could customize for what I am trying to do?
Thanks.


 




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
OL2003: Need macro to run all rules [email protected] Outlook - General Queries 3 September 4th 06 03:54 AM
How can I run a macro from a custom button control AA Outlook - Using Forms 1 June 20th 06 10:35 PM
Run Macro when user saves Flemming Outlook - Using Forms 7 May 16th 06 01:55 PM
allow me to run macro time initiated hirosh Outlook and VBA 1 April 1st 06 06:40 AM
outlook macro doesn;t run - sub/function not defined mudshark Outlook and VBA 1 February 6th 06 10:04 PM


All times are GMT +1. The time now is 09:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.