Marking as do not archive

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.

Right now we have to open the time, click file/properties and then click
dont archive, ok and then save and close. Not a big deal but would save some
time.

I only know how to write macros in the record mode, so I am totally lost in
Outlook. Any help will be greatly appreciated.
 
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.
 
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.
 
Back
Top