Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   VBA to set selected emails to "Do not Autoarchive this item" (http://www.outlookbanter.com/outlook-vba/70802-vba-set-selected-emails-do.html)

TommoUK April 23rd 08 04:31 AM

VBA to set selected emails to "Do not Autoarchive this item"
 
I was wondering if it was possible to create a routine that would set a group
of emails to "Do not Autoarchive this item"

For example, if I had 10 emails in my Inbox, I would like to click on number
1, hold down the CTRL, and click on numbers 5, 12, 17, and 18. Then, by
running a procedure, set those emails to NOT Autoarchive (instead of having
to go into each individual email).

Many thanks in advance

Michael Bauer [MVP - Outlook] April 23rd 08 05:54 AM

VBA to set selected emails to "Do not Autoarchive this item"
 


You find all of the selected items in the ActiveExplorer.Selection
collection. Set each item's NoAging property = True.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool:
: http://www.vboffice.net/product.html?pub=6&lang=en



Am Tue, 22 Apr 2008 20:31:02 -0700 schrieb TommoUK:

I was wondering if it was possible to create a routine that would set a

group
of emails to "Do not Autoarchive this item"

For example, if I had 10 emails in my Inbox, I would like to click on

number
1, hold down the CTRL, and click on numbers 5, 12, 17, and 18. Then, by
running a procedure, set those emails to NOT Autoarchive (instead of

having
to go into each individual email).

Many thanks in advance



All times are GMT +1. The time now is 03:35 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com