A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Marking as do not archive



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 2nd 06, 08: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
  #2  
Old March 2nd 06, 06: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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Archive Newsgroups Outlook - General Queries 10 February 8th 06 05:29 AM
cannot archive calendar typical computer geek Outlook - General Queries 5 January 23rd 06 02:44 PM
cannot archive calendar typical computer geek Outlook - Calandaring 0 January 18th 06 06:10 PM
Archive Calendar Snowball Outlook - Calandaring 1 January 11th 06 11:40 AM
OE freeze when marking newsgroups catch up tentai Outlook Express 5 January 9th 06 08:20 AM


All times are GMT +1. The time now is 09:12 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-2025 Outlook Banter.
The comments are property of their posters.