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

modifing runAllInboxRules to allow selection of folder, or to run in current folder including subfolders



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old September 1st 07, 06:45 PM posted to microsoft.public.outlook.program_vba
Bruce
external usenet poster
 
Posts: 22
Default modifing runAllInboxRules to allow selection of folder, or to run in current folder including subfolders

I have used Sue Moshers code for running all rules in inbox.

I would like to know how I can modify it so that I can choose which folder
to run it against.

Here seems to be the critical snippet

If rl.RuleType = olRuleReceive Then
' if so, run it
rl.Execute ShowProgress:=True
count = count + 1
ruleList = ruleList & vbCrLf & rl.Name
End If


Thanks
Bruce
 




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
how to access current text selection DavidH&P Outlook - Using Forms 3 June 30th 09 01:43 PM
OOM 2003: can't identify selected folder from Selection Kelmen Add-ins for Outlook 2 July 24th 07 02:27 PM
Can I propagate Outlook folder permissions to subfolders? Midwest Muskie Outlook - Installation 0 July 12th 07 03:26 PM
Outlook 2007: when selecting a new folder, the highlighted selection always resets to the top. OL2003 would select to last entry Warrick Wilson Outlook - General Queries 2 March 4th 07 01:19 PM
created contact is seen in contacts folder but not in distribution list's member selection [email protected] Outlook - Using Contacts 4 October 27th 06 04:09 AM


All times are GMT +1. The time now is 11:49 AM.


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