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

File all Emails by Sender in the Inbox and Move to Folder according to Pre-set Rule



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 3rd 07, 01:40 PM posted to microsoft.public.outlook.program_vba
ollie
external usenet poster
 
Posts: 2
Default File all Emails by Sender in the Inbox and Move to Folder according to Pre-set Rule

Hopefully Sue can help me or someone else here.

I need to right a macro in order to make filing my Inbox emails simpler
in outlook 2003.

Simply, I want to right Click an Email that's in my Inbox and then have
ALL of the emails from the sender in my Inbox "MOVED" to a
pre-determined sub folder (from a rule).

So I can and have created rules to move emails from specific Senders to
the folder as they arrive but basically I want to read the emails
first that arrive in my Inbox and then "Move Them" to a pre-specified
folder that I have determined using the Rule Wizard.

So I first create the rule but turn off run rules automatically for the
ones which say emails from Sender X move to Folder Y.

Now I need to create the Right-Click Menu Macro to 'File All Senders
Emails'.

Could someone show me the VBA Code necessary to do this Please?

Logic is this.

With
Current Selected Mail Item
Search All Mail Items with Senders Name in Current Folder
Where Rule Contains Name of Sender Run this Rule for All Mail Items
in Current Folder

Obviously it would be better if Outlook could have Subfolders
associated to Contacts in the Addressbook that way instead of having to
run the rule wizard, for certain filing actions, you could call the
associated Folder Property in VBA or .NET.

Many Thanks

Ollie

 




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
move to folder rule sends to wrong folder Holden Outlook - General Queries 0 December 10th 06 06:18 AM
How to create a rule to move emails based on a particular domain Net Outlook - General Queries 3 November 22nd 06 01:35 PM
O2k3: single keystroke to move a message(s) to a pre-determined folder(s). Michael March Outlook - General Queries 1 August 6th 06 07:44 PM
How can set up a rule to I move emails from contacts in a given category... into a particular email folder? ship Outlook - General Queries 3 April 27th 06 11:28 PM
Move emails to a folder rule (Time based) George Lake Outlook - General Queries 1 April 27th 06 03:09 PM


All times are GMT +1. The time now is 09:51 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.