Use macro to move a mail item to a specific folder, how ?




I want some guidelines on how to create a macro which when i run it the
message (mail item) will be moved on a particular folder exactly as it was
down automatically by a rule. Unfortunaly i cannot use a rule cause their is
no pattern on the message so it has to be done manually and fairly easy.

I'm familiar with VBA but i need some starting points. Am i goinf to use the
item. properties on the visual basic editor ? how can i specify a folder
through code ?

Any help will be greatly appreciated

thank you


good links,

Sue Mosher said:
You can either use Namespace.PickFolder to let the user select a folder or,
to get a non-default folder, walk the folder hierarchy using the Folders
collections or use a function that does that for you. See

You will probably also find the GetCurrentItem() function from useful.
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question