View Single Post
  #2  
Old December 13th 07, 04:13 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to detect flag event from vba?

You'd have to handle the ItemChange event of the Items collection and check
to see what was changed. An alternative would be to instantiate event
handlers for any selected or open item and handle the item.PropertyChange
event but that wouldn't get you items flagged from the context menu since
those might not be selected.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
...
I want to move a message to a specified folder once its flagged. How
can I detect that flagging event from vba?


Ads