View Single Post
  #3  
Old October 7th 10, 04:18 PM
VertigoBomber VertigoBomber is offline
Junior Member
 
First recorded activity at Outlookbanter: Oct 2010
Posts: 1
Default

Quote:
Originally Posted by Eric Legault [MVP - Outlook] View Post
This is easy enough to do with a macro. Just loop through the
MAPIFolder.Items collection for the given folder (use
ActiveExplorer.CurrentFolder to work with the currently selected folder) and
read the Item.Categories property, then call Item.Move(MAPIFolder) to move it
to a destination folder you have already retrieved.

The trick for your solution though is mapping Category names to specific
folders; you'll have to build your own name/value array or collection or
whatever and incorporate it into your processing logic.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"DougLost" wrote:

Hi,

Instead of creating over 100+ rules to move messages to a specified
folder based on the category, I'm hoping a macro can do this. I have
over a 100 categories. Each category represents a project I'm working
on.

I have messages already assigned to a category in a file later folder.
I'd like any messages with category x automatically move from my file
alter folder to another folder named x. Messages with category y will
move to folder y. category z messages will move to folder z.


Am hoping somebody has already done this.

Thanks,

Doug

hi doug how can we do that macro
i try write macro but cant do the task

how can we move all categoried mail to created same name with category folders ??
for example

have a b c categories
i tag my mail a b c
then i want a macro create a b c folder on personal folders then
a b c categoriezed mail transfer to a b c folders

A mails - A folder
B mails -B folder .. hope you understand the task thank you
Ads