How to Batch Open All Linked Contacts of an Outlook Task

If you would like to open all the linked contacts of a task in bulk, you can read this article. Here we will introduce you an easy method to get it.

In Outlook, you can link contacts to tasks at will. After you created a task with a lot of contacts linked, if now you need to check these contacts, you will hope to open them in batches. However, Outlook only allows you to open the contacts one by one. You can double click on one linked contact. Then, in the floating window, you can click on the “Open Contact” link, like the following image. Yet, this feature isn’t available when you select all the linked contacts and double click on them.

Open Contact

Hence, if you want to batch open all linked contacts of a task, you can read on. In the followings, we will share a quick approach with you.

Quickly Open All Linked Contacts of an Outlook Task

  1. At first, launch Outlook.
  2. Then, trigger VBA editor with reference to “How to Run VBA Code in Your Outlook“.
  3. Next, put the following VBA code into a module.
Sub OpenLinkedContacts_Task()
    Dim objTask As Outlook.TaskItem
    Dim objLinks As Outlook.Links
    Dim i As Long
    Dim objLink As Outlook.Link
    Dim objLinkedContact As Outlook.ContactItem
 
    'Get the task
    Select Case Outlook.Application.ActiveWindow.Class
           Case olInspector
                Set objTask = ActiveInspector.CurrentItem
           Case olExplorer
                Set objTask = ActiveExplorer.Selection.Item(1)
    End Select
 
    'Get all links of the task
    Set objLinks = objTask.Links
 
    For i = 1 To objLinks.Count
        Set objLink = objLinks(i)
        'Open the linked contacts
        If objLink.Type = olContact Then
           Set objLinkedContact = objLink.Item
           objLinkedContact.Display
        End If
    Next
End Sub

VBA Code - Open All Linked Contacts of a Task

  1. Subsequently, exit the VBA editor window.
  2. Afterwards, for convenience of operation, add the new macro to Quick Access Toolbar or ribbon.
  3. Eventually, try it by following the steps below.
  • To begin with, select or open a task.
  • Then, click the macro button in Quick Access Toolbar.Run Macro on Open Task
  • At once, all the linked contacts of this task will be displayed, as shown in the following figure.Batch Open Linked Contacts

Keep All Threats around Outlook at Bay

As we all know, Outlook data file is vulnerable. In other words, Outlook data can be corrupt readily. However, no one is willing to accept Outlook data corruption. Therefore, it is essential for you to make some actions to protect your Outlook file. For instance, you need to back up your Outlook file at regular intervals. Plus, you have to keep away from all risks, such as virus or malware. Last but not least, you had better get hold of a cutting-edge external repair utility, such as DataNumen Outlook Repair. It can fix PST problems with effortless ease.

Author Introduction:

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

Comments are closed.