3 Quick Steps to Auto Archive Completed Tasks in Outlook

Outlook can only auto archive the tasks according to their modified dates. But some people hope to configure Outlook to auto archive completed tasks only. This article will introduce a method to realize it just in 3 rapid steps.

As we all know, if we would like to auto archive all the Outlook folders, we can go to Outlook Options and change AutoArchive settings on “Advanced” tab, shown as the following screenshot:

Auto Archive All Folders

If you would like to auto archive specific folders instead of all, you can enable the AutoArchive feature only to the specific folders. Just right click the folder and opt for “Properties”. In the popup dialog box, shift to “AutoArchive” tab and change the settings, like the image below:

Auto Archive a Task Folder

However, both methods mentioned above will work on basis of the item modified date. They cannot identify the other properties of the items, such as whether the task items are completed or not. Thus, here we will teach you how to auto archive the completed tasks only by 3 quick steps.

Step 1: Create a New Task Folder

  1. In the first place, turn to Outlook Task pane and pitch on the main task folder under the default Outlook data file.
  2. Then turn to the “Folder” tab and click on “New Folder” button.New Folder
  3. Lastly specify a name for the new folder, such as “Completed Tasks”, and then hit “OK” button.Create New Task Folder

Step 2: Auto Move Completed Tasks to the New Folder

  1. For a start, press “Alt + F11” key buttons, which will bring out the “Visual Basic” window.
  2. Then access the “ThisOutlookSession” project and copy the following codes into it.
Public WithEvents olItems As Outlook.Items

Private Sub Application_Startup()
    Set olItems = Session.GetDefaultFolder(olFolderTasks).Items
End Sub

Private Sub olItems_ItemChange(ByVal Item As Object)
    Dim CompTaskf As Folder
    If TypeName(Item) = "TaskItem" And Item.Complete = True Then
       Set CompTaskf = Session.GetDefaultFolder(olFolderTasks).Folders("Completed Tasks")
       Item.Move CompTaskf
    End If
End Sub

Auto Move Completed Tasks to the New Folder

  1. Subsequently, you can proceed to sign this code as usual.
  2. Ultimately exit the “Visual Basic” window and change macro settings, namely enabling digitally signed macros only.

Step 3: Auto Archive the Tasks in the New Folder

  1. At the outset, go back to Outlook Task navigation pane.
  2. Then locate and right click on the new task folder, “Completed Tasks”.
  3. Next from the right clicking menu, choose “Properties” option.
  4. After that, in the subsequent “Completed Tasks Properties” dialog box, switch to “AutoArchive” tab and click on “Default Archive Settings” button.
  5. Finally you can change AutoArchive settings as per you requirements, like the picture below:Auto Archive Completed Tasks

From now on, when you mark a task as complete, it will be moved to “Completed Tasks” folder automatically. And Outlook will auto archive the “Completed Tasks” folder according to your settings.

Necessities for Outlook Data Recovery

It is known that Outlook is prone to error and corruption. In order to ensure that our Outlook data is well-protected, we should make lots of precautions. Besides, we should also keep prepare for Outlook data recovery in that Outlook damage is inevitable with time going on. The first must-have is an up-to-date data backup. In addition, it is essential to get hold of corrupted Outlook file repair tool, such as DataNumen Outlook Repair. It can rescue your data effectively.

Author Introduction:

Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including repair SQL Server mdf db damage and outlook repair software products. For more information visit www.datanumen.com

One response to “3 Quick Steps to Auto Archive Completed Tasks in Outlook”

Leave a Reply

Your email address will not be published. Required fields are marked *