WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Flags and Do Not Autoarchive

 
   Home -> Office -> Programming VBA RSS
Next:  Date Stamp Attachments  
Author Message
vbtrek

External


Since: Feb 09, 2007
Posts: 1



(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.
Back to top
Login to vote
Michael Bauer [MVP - Outl

External


Since: Aug 04, 2006
Posts: 1354



(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.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?productid=300120654&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)


Am Fri, 9 Feb 2007 17:21:00 -0800 schrieb vbtrek:

> 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.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Programming 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support