View Single Post
  #1  
Old November 19th 08, 12:19 PM posted to microsoft.public.outlook.program_vba
Nigel RS
external usenet poster
 
Posts: 16
Default Move item between folders

I currently have some VBA code that runs when an mail item arrives in my
inBox, this is triggered by Inbox Rule. That works fine.

I now need to be able to run some code when a user manually moves a mail
item to a different folder within the MailBox. How can I detect this event?

For example
MailBox
/InBox
... mail item 1
/Test

When mail item 1 arrived a rule triggered some VBA code. If the user now
drags mail item 1 from /InBox to folder /Test, I wish to run some code. This
needs to differentiate 'from where' - 'to where' the item is moved.

Please help!



Ads