View Single Post
  #1  
Old March 2nd 06, 07:08 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Marking as do not archive

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