(Msg. 1) Posted: Fri Feb 09, 2007 5:21 pm
Post subject: Flags and Do Not Autoarchive Archived from groups: microsoft>public>outlook>program_vba (more info?)
In outlook 2007, is it possible to trap a flag being set on a mail message
using VBA and automatically set the do not autoarchive flag, then reset the
do not autoarchive when the flag is cleared or completed. I am a VB6
developer but haven't really done much with outlook and vba.
(Msg. 2) Posted: Mon Feb 12, 2007 7:20 am
Post subject: Re: Flags and Do Not Autoarchive [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Yes, it's possible. You need to trap the NewInspector event and use your own
object (class module) for each opened MailItem object to get its events. For
each MailItem trap the PropertyChange event and look for changed Flag*
properties.
The autoarchive setting is available via the NoAging property.
> In outlook 2007, is it possible to trap a flag being set on a mail message
> using VBA and automatically set the do not autoarchive flag, then reset
the
> do not autoarchive when the flag is cleared or completed. I am a VB6
> developer but haven't really done much with outlook and vba.
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum