M
Michael Bauer [MVP - Outlook]
Use the object browser (f2) to see what proeprties an item offers. For
instance, switch from <All Libraries> to Outlook, select MailItem (for which
you want to set anything) in the left pane, then look for the various
Reminder* properties in the right pane.
Probably you could use the ItemAdd or NewMailEx event of the inbox, and add
a reminder to every incoming item.
Before the reminder comes up, Outloook fires the Reminder event of the
Application object. In that event check the PR_LAST_VERB_EXECUTED property
of the item. That property stores only the last action; a value of 102
indicates that you have replied to the item.
Depending on your Outlook version you might need CDO 1.21 or Redemtpion
(www.dimastr.com) to read the property. Since OL07 you can also use the
PropertyAccessor for that.
If the value of the property is 102, just turn off the reminder in the
event, so you don't get the prompt.
--
Best regards
Michael Bauer - MVP Outlook
: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>
Am Tue, 24 Nov 2009 18:48:01 -0800 schrieb bhuvana:
instance, switch from <All Libraries> to Outlook, select MailItem (for which
you want to set anything) in the left pane, then look for the various
Reminder* properties in the right pane.
Probably you could use the ItemAdd or NewMailEx event of the inbox, and add
a reminder to every incoming item.
Before the reminder comes up, Outloook fires the Reminder event of the
Application object. In that event check the PR_LAST_VERB_EXECUTED property
of the item. That property stores only the last action; a value of 102
indicates that you have replied to the item.
Depending on your Outlook version you might need CDO 1.21 or Redemtpion
(www.dimastr.com) to read the property. Since OL07 you can also use the
PropertyAccessor for that.
If the value of the property is 102, just turn off the reminder in the
event, so you don't get the prompt.
--
Best regards
Michael Bauer - MVP Outlook
: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>
Am Tue, 24 Nov 2009 18:48:01 -0800 schrieb bhuvana: