2 Quick Methods to Back up All Tasks in Your Outlook

Posted February 13, 2018 By AuthorZT

If you would like to back up all tasks in your Outlook, you can read this article. Here we will show you 2 quick methods. You can choose either to your liking.

At times, you may want to back up a specific type of items in your Outlook, such as backing up all Tasks. For instance, if you want to transfer all tasks to another computer, you may want to back up them to a separate Outlook data file and then move the file to the target computer. Now, in the followings, we will share 2 quick approaches to achieve it.

Method 1: “Export” All Tasks in a Task Folder & Its Subfolders

  1. For a start, go to “File” menu.
  2. Then, shift to “Open” tab and select “Import”.
  3. Next, in “Import and Export Wizard”, choose “Export to a file” and hit “Next”.Export to a file
  4. In the subsequent “Export a file” screen, select “Outlook Data File (.pst)” and click “Next”.Export to Outlook Data File (.pst)
  5. Later, in “Export Outlook Data File” screen, pitch on a task folder and check “Include Subfolders” option and click “Next”.Select Task Folder
  6. Finally, specify “Save exported file as” and click “Finish” button.Finish Export

Method 2: Back up All Tasks in All Task Folders via Outlook VBA

  1. At the very outset, go to Outlook VBA editor via “Alt + F11”.
  2. Then, copy and paste the following VBA code into a module.
Dim objBackupFile As Outlook.Folder
Dim objBackupFolder As Outlook.Folder

Sub BackupAllTasks()
    Dim objStores As Outlook.Stores
    Dim n As Long
    Dim objStore As Outlook.Store
    Dim objOutlookFile As Outlook.Folder
    'Create a new PST file for backup
    strNewOutlookFile = "E:\Backups\Tasks" & " (" & Format(Now, "YYYYMMDDHHMMSS") & ").pst"
    Outlook.Application.Session.AddStoreEx strNewOutlookFile, olStoreUnicode
    Set objBackupFile = Session.Folders.GetLast()
    'Create a Task folder
    Set objBackupFolder = objBackupFile.Folders.Add("Tasks", olFolderTasks)
    'Process all PST Files in your Outlook
    Set objStores = Application.Session.Stores
    For n = 1 To (objStores.Count - 1)
        Set objStore = objStores(n)
        Set objOutlookFile = objStore.GetRootFolder
        Call ProcessFolders(objOutlookFile.Folders)
    MsgBox "Complete!"
End Sub

Sub ProcessFolders(ByVal objFolders As Outlook.Folders)
    Dim objFolder As Outlook.Folder
    Dim i As Long
    Dim objCopiedTask As Outlook.TaskItem
    For Each objFolder In objFolders
        If objFolder.DefaultItemType = olTaskItem Then
           'Copy all Tasks to Backup file
           For i = objFolder.Items.Count To 1 Step -1
               Set objCopiedTask = objFolder.Items(i).Copy
               objCopiedTask.Move objBackupFolder
        End If
        'Process subfolders recursively
        If objFolder.Folders.Count > 0 Then
           Call ProcessFolders(objFolder.Folders)
        End If
End Sub

VBA Code - Back up All Tasks

  1. After that, click into the first subroutine and tap “F5” key button.
  2. When macro finishes with a “Complete” prompt, you can go to “Tasks” pane.
  3. A new Task folder is over there, which contains all backed up Tasks.Backed Up Tasks

Get Rid of Frustrating PST Troubles

It isn’t rare to encounter miscellaneous problems in your Outlook. Thus, you have to make some precautions to avoid catastrophic Outlook data loss. First of all, you ought to make regular data backups. Besides, you need to get hold of a robust and reliable external PST fix utility, such as DataNumen Outlook Repair. It’ll help you a lot in the event of both backup restoration and Scanpst failures.

Author Introduction:

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

Be the first to comment

To exclude an item from configured “AutoArchive” in Outlook, you can enable “Do not AutoArchive this item” option for this item. Now, if you want to batch enable this option for multiple items, you can use the 2 ways introduced in this article.

To let Outlook automatically clean up old items, you can configure “AutoArchive” feature in your Outlook. However, at times, you may want to prevent some items from being auto-archived. In this case, you can enable “Do not AutoArchive this item” option for these items. To enable it for one item, you can select the item and press “Alt + Enter”. Then, in the popup dialog box, you can check the “Do not AutoArchive this item” option, as shown in the following figure. But, this means is a bit tedious if there are multiple items to be excluded in “AutoArchive”. Hence, here we’ll share 2 more effective ways, which can let you accomplish it in bulk.

 "Do not AutoArchive this item" Option

Method 1: Group Emails by “Do Not AutoArchive” Field

  1. First of all, open a mail folder.
  2. Then, switch to “View” tab and click “View Settings” button.
  3. In the popup dialog box, click “Group By” button.Group By
  4. Next, in “Group By” dialog, uncheck the “Automatically group according to arrangement” option.
  5. After that, select “All Mail Fields” from the drop down list of “Select available fields from” at bottom.
  6. Then, choose “Do Not AutoArchive” option from the list of “Group items by”.Group Items by "Do Not AutoArchive" Field
  7. Later, click several “OK” to save the view changes.
  8. After returning to mail list, you can see that all the emails have been divided into two groups – “Yes” and “(none)”.
  9. Now, from “(none)” group, select the emails to be excluded in “AutoArchive”.
  10. Finally, drag and drop them to the “Yes” group, which will batch enable the “Do no AutoArchive this item” feature on them.Drag and Drop Selected Emails to "Yes" Group

Method 2: Batch Enable for Multiple Emails via Outlook VBA

  1. To start with, access VBA editor via “Alt + F11”.
  2. Then, put the code below into a module.
Sub NotAutoArchiveMultipleEmails()
    Dim objSelection As Outlook.Selection
    Dim i As Long
    Dim objMail As Outlook.MailItem
    Dim lMailCount As Long
    'Get selected items
    Set objSelection = Outlook.Application.ActiveExplorer.Selection
    If Not (objSelection Is Nothing) Then
       lMailCount = 0
       For i = objSelection.Count To 1 Step -1
           If objSelection(i).Class = olMail Then
              Set objMail = objSelection(i)
              'Enable "Do not AutoArchive this item" feature
              If objMail.NoAging = False Then
                 objMail.NoAging = True
                 lMailCount = lMailCount + 1
              End If
          End If
      MsgBox lMailCount & " emails have been set to Not Auto Archive!", vbInformation + vbOKOnly
    End If
End Sub

VBA Code - Batch Enable "Do not AutoArchive this item" Option for Multiple Emails

  1. Afterwards, exit the VBA editor.
  2. Subsequently, add this macro to Quick Access Toolbar according to “Optional Step” in “How to Run VBA Code in Your Outlook“.
  3. Lastly, try this macro.
  • First off, select multiple emails.
  • Then, click the macro button in Quick Access Toolbar.Run Macro on Selected Emails
  • At once, the selected emails have been set not to be auto-archived.Batch Enabled "Do not AutoArchive this item" Option

What to Do in Case of Outlook Corruption

Have you ever been subject to Outlook damage before? If you have, how did you deal with it? For most users, the first resort must be the inbox repair tool. Yet, if it fails, users will get panic and don’t know what they can do then. In honesty, inbox fix tool is unable to fix seriously damaged PST. What you can recur to is a more powerful external tool, such as DataNumen Outlook Repair.

Author Introduction:

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

Be the first to comment

In this article, we look at a realworld situation where data corruption has occurred moving to a new system. We would look at ways to immediately access the data.

One of the most dreaded challenges faced by users of MS Access is the corruption of the database. Database corruption is not something that will occur only under certain situations. It can occur whenever the integrity of the database is at risk. One of the common occasions, when it occurs, is while moving Access databases to a new system. A lot of users get surprised when they find that their database has been corrupted while they were attempting to move it to another system. There are multiple causes as to why this might be happening, a few most probable reasons can be copy or logic errors.Dealing With A Crashed MS Access Database While Moving Data To A New System

Apart from just understanding the cause of the error, it is important for the user to understand the ways of dealing with that error. A few of which we will be explaining in this article.

Solutions to deal with crashed MS Access Database and retrieving data.

The very first thing you need to do when you fear losing the data is to ‘not panic’. As that will make things worse. Dealing with crashed data is not something for which you need to rush to get help from experts, you can easily deal with it yourself by following these simple solutions

Using database backup for recovering databases

It is now time to check if all the money and energy you invested in taking the backups was worth it or not. This is where you need to make use of the backups for recovering the lost data. Make use of the most recent backups available to you.

Delete .ldb file

This is the file that is automatically created by Jet Database engine present in MS Access when you open the database.

Make use of Jet Compact Utility

Jet Compact Utility This has been designed specifically to help users of MS Access rectify all the minor corruption errors that are caused in the database.

Erase the VBA Code present in the database

The combined VBA Code that is contained in the database needs to be removed. You can do this by making use of the command line switch.

Note: The path will have to be changed according to the location of your MSAccess.exe.

Using MS Access Compact and Repair feature

This feature is a built-in feature for MS Access, it can be found in the Database Tools section and is extremely easy to use. This is another reliable solution for dealing with a corrupt accdb file.

Import Corrupted database

The corrupted database needs to be imported to a new Access database so that the data can be accessed. Follow the given steps for importing database.

  1. Open Access and create a new database.
  2. Click on Access and select Import option in External data tab.

Locate the file to be imported

Once you have selected the import option, you need to find the file while it is being imported. To find the file, click on browse. After the file is available you need to select a technique to store data, and select the objects of the database which you want to import.

Author Introduction:

Vivian Stevens is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including sql fix and excel recovery software products. For more information visit www.datanumen.com

Be the first to comment