Solved

Outlook 2003: do not autoarchive messages when flagged

Posted on 2007-11-30
6
1,020 Views
Last Modified: 2008-05-19
People in our offices use autoarchive to archive their mail messages. This works well but we have the following problem: important messages should not be archived, this are messages with a flag. So if the people add a flag, the message should get automatically the option 'do not autoarchive this item". I have looked for a solution in the following domains:
- do not autoarchive messages when they have the state "follow up"
- set properties on the folder "follow up" but this is just a state of a message and not an actuel folder
- trying to add rules on the messages in the inbox but you always need to execute the rules, it doesn't go automatically

The most important thing in this problem is that it all goes automatically. If you have any questions I will be happy to answer them
0
Comment
Question by:soresma
  • 3
  • 2
6 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 20384387
Hi, soresma.

I don't believe it's possible to do what you've described.  Autoarchiving is done on a per-folder basis, not per-message.  The only criteria autoarchive uses is age.  The best solution I can suggest is to create a folder for these users to keep their follow-up items in and set autoarchiving to not archive that folder.
0
 

Author Comment

by:soresma
ID: 20384989
It is possible to open a message and then set that the specific message shouldn't be archived. It is the problem that it should be done automatically upon flaggin' (or antoher way)  the message. I have done quite some research about the problem and it seems a problem that isn't easy to solve. Maybe it is possible with a macro but I'm not much of a programmer. We have given the possible solution, by moving the items to another folder but that isn't what they really want so we keep on searching.
0
 
LVL 76

Expert Comment

by:David Lee
ID: 20492636
soresma,

Apologies for taking so long to respond.

Yes, the NoAging property of a message can be set to True which will prevent the item from being archived.  You could write code that would set NoAging if the item is flagged, or you could write some code that'd be triggered by a toolbar button that would both set/clear a flag and NoAging.  Deploying that code will be a problem though if you have very many computers that need this capability.  Outlook has no automated means of distributing code.  The best solution would be to write an add-in.  They are more complicated than macros and require additional tools.  
0
 

Author Comment

by:soresma
ID: 20581094
Best wishes for the new year.

Thanks for your reply. This option needs to be available to all users in our enterprise and because we work with terminal servers installing this would be fairly easy. We are also searching for code for this problem but it really isn't simple to find. I'll keep you posted.
0
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 20604257
Happy New Year!

The code for doing this is very simple.  Something like the code below.  This would set the NoAging property of all selected items so they would not be archived.
Sub DontArchive()

    Dim olkItem As Object

    For Each olkItem In Application.ActiveExplorer.Selection

        olkItem.NoAging = True

        olkItem.Save

    Next

    Set olkItem = Nothing

End Sub

Open in new window

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now