View Single Post
  #2  
Old June 9th 06, 05:37 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Macro to Move Mail Messages from Draft folder to other folders

Am Thu, 8 Jun 2006 12:01:02 -0700 schrieb VBnovice:

For to start the code you can use the ItemAdd event of the Drafts folder. A
sample is available in the VBA help.

In that event check the Itemīs Subject property with Instr. If it contains
what youīre looking for then call its Move function, which is also explained
in the help.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


HELP...Please...I am so a newby on the VB stuff.

I am trying to create a macro that will move messages from my Drafts

folder
to another folder, based on specific words in the subject line.

For example: In my drafts file, a message with "HEALTH:" would be moved

to
a unique folder called "Health Articles".

I would like the macro to run either as i save items intot the draft

folder,
or is there a way to also create a menu "button" to run the macro
automatically.

Thanks for the help!

Ads