Am Wed, 1 Mar 2006 15:01:28 -0800 schrieb Jordan:
Jordan, first create a Public Sub, please. That could be started with F8,
or you could create a button manually for it.
The currently selected item is accessabe by
Application.ActiveExplorer.Selection(1), the opened one by
Application.ActiveInspector.CurrentItem.
Then set the item´s NoAging Property = True and save the item.

Signature
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --
> Can any one help me with writing a macro that will mark the item that is open
> or highlighted (ie: email, task, sent item) to not be auto archived.
[quoted text clipped - 5 lines]
> I only know how to write macros in the record mode, so I am totally lost in
> Outlook. Any help will be greatly appreciated.
Jordan - 02 Mar 2006 17:14 GMT
Michael, Thanks for the information. I got the macro running and was
wondering if there is a way to "unmark" it if it is already marked. In other
words; if it is not checked it would check it and if it is checked it would
uncheck it.
Lots of checks!
Thanks for the help.
> Am Wed, 1 Mar 2006 15:01:28 -0800 schrieb Jordan:
>
[quoted text clipped - 19 lines]
> in
> > Outlook. Any help will be greatly appreciated.