View Single Post
  #2  
Old March 2nd 06, 05:14 PM posted to microsoft.public.outlook.program_vba
Jordan
external usenet poster
 
Posts: 18
Default Marking as do not archive

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.

"Michael Bauer" wrote:

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.

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

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.


Ads