---
description: Some users desire that Outlook can automatically open the hyperlinks inserted in the email body when they open and read specific emails. Now, in this article, we will share a method which can realize it with ease.
title: How to Auto Open All Embedded Hyperlinks when Reading Specific Emails in Outlook
image: https://www.datanumen.com/blogs/wp-content/uploads/2017/08/auto-open-all-embedded-hyperlinks-when-reading-specific-emails.jpg
---

-
-
-

[Home](https://www.datanumen.com/blogs/) > [Solutions](https://www.datanumen.com/blogs/category/solutions/) > [Office Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/) > [Outlook Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/outlook-solutions/) > How to Auto Open All Embedded Hyperlinks when Reading Specific Emails in Outlook

# How to Auto Open All Embedded Hyperlinks when Reading Specific Emails in Outlook

[Outlook Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/outlook-solutions/) September 29, 2025

Share Now:

-
-
-
-
-
-
-
-

*Some users desire that Outlook can automatically open the hyperlinks inserted in the email body when they open and read specific emails. Now, in this article, we will share a method which can realize it with ease.*

When opening and reading specific emails, such as vitally important emails from your boss, if the emails contain several hyperlinks, you will definitely open these links. In comparison with opening the embedded hyperlinks manually, making Outlook auto open them will surely be much more convenient. Here we will teach you how to achieve it in detail.

![Auto Open All Embedded Hyperlinks when Reading Specific Emails](https://www.datanumen.com/blogs/wp-content/uploads/2017/08/auto-open-all-embedded-hyperlinks-when-reading-specific-emails.jpg "Auto Open All Embedded Hyperlinks when Reading Specific Emails")

## Auto Open All Embedded Hyperlinks when Reading Specific Emails

1. To start with, launch the Outlook application.
2. After entering Outlook window, press “Alt + F11” key shortcuts.
3. In the subsequent VBA editor window, you need enable “Microsoft VBScript Regular Expressions” object. Hit ‘Tools” and select “References” to achieve it.
4. Next, open the “ThisOutlookSession” project.
5. Then, copy the following VBA code into this project.

```
Public WithEvents objInspectors As Outlook.Inspectors
Public WithEvents objMail As Outlook.MailItem

Private Sub Application_Startup()
 Set objInspectors = Outlook.Application.Inspectors
End Sub

Private Sub objInspectors_NewInspector(ByVal Inspector As Inspector)
 If Inspector.CurrentItem.Class = olMail Then
 Set objMail = Inspector.CurrentItem
 End If
End Sub

Private Sub objMail_Open(Cancel As Boolean)
    Dim objRegExp As RegExp
    Dim objMatches As MatchCollection
    Dim objMatch As match
    Dim strURL As String
 
    'When opening specific emails
    'From specific persons or marked as important
    If objMail.SenderEmailAddress = "boss@datanumen.com" And objMail.Importance = olImportanceHigh Then
       Set objRegExp = New RegExp
 
       With objRegExp
            .Pattern = "(([0-9a-z=\?:/\.&-^!#$;_])*)"
            .Global = True
            .IgnoreCase = True
       End With

       If objRegExp.Test(objMail.Body) Then

          Set objMatches = objRegExp.Execute(objMail.Body)
          For Each objMatch In objMatches
              strURL = objMatch.SubMatches(0)
 
              'Exclude hyperlinks of email addresses
              If InStr(strURL, "@") = 0 Then
 
                 'Get the Internet Explorer
                 'Change the path as per your own case
                 Shell (Chr(34) & "C:\Program Files\Internet Explorer\iexplore.exe" & Chr(34) & strURL)
                 DoEvents
              End If
          Next
       End If
    End If
End Sub
```

![VBA Code - Auto Open All Embedded Hyperlinks when Reading Specific Emails]( "VBA Code - Auto Open All Embedded Hyperlinks when Reading Specific Emails")

6. After that, you ought to sign this macro. Click “Tools” > “Digital Signature” to accomplish it.
7. Next, exit the current window and change your Outlook macro settings.
8. Ultimately, you need to restart your Outlook to enable the new VBA project.
9. Since then, every time when you double click on the specific emails to read it in its own Message window, Outlook will auto recognize the hyperlinks in the email body and immediately open them in Internet Explorer.

## Never Bypass Outlook Errors

Perhaps you have been subject to assorted Outlook errors. Although eliminating Outlook issues is difficult, you can’t disregard them either. Accumulated errors can lead to serious disasters in Outlook, such as PST damage. Hence, you’d better prepare a formidable external [Outlook fix](https://www.datanumen.com/outlook-repair/) utility, like DataNumen Outlook Repair. It can minimize corruption, thereby extracting maximum PST data with no fuss.

## Author Introduction:

Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including [corrupted mdf](https://www.datanumen.com/sql-recovery/) and outlook repair software products. For more information visit [www.datanumen.com](https://www.datanumen.com/)

Share Now:

-
-
-
-
-
-
-
-

[← Previous post](https://www.datanumen.com/blogs/innovatively-use-ms-access-large-scale-client-server-architecture/)

[Next post →](https://www.datanumen.com/blogs/2-ways-batch-change-tentative-appointments-busy-status-outlook/)

Comments are closed.

![Data Recovery Blog]()

Follow or like us on Facebook, LinkedIn and Twitter to get all promotions, latest news and updates on our products and company.

-
-
-

### Featured Products

- [DataNumen Outlook Repair](https://www.datanumen.com/outlook-repair/)
- [DataNumen SQL Recovery](https://www.datanumen.com/sql-recovery/)
- [DataNumen Exchange Recovery](https://www.datanumen.com/exchange-recovery/)
- [DataNumen Access Repair](https://www.datanumen.com/access-repair/)
- [DataNumen Excel Repair](https://www.datanumen.com/excel-repair/)
- [DataNumen PDF Repair](https://www.datanumen.com/pdf-repair/)
- [DataNumen Word Repair](https://www.datanumen.com/word-repair/)
- [DataNumen Zip Repair](https://www.datanumen.com/zip-repair/)

### Popular posts

```json
{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/#article","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/"},"author":{"name":"AuthorCCW","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957"},"headline":"How to Auto Open All Embedded Hyperlinks when Reading Specific Emails in Outlook","datePublished":"2017-08-30T00:54:10+00:00","dateModified":"2025-09-29T10:39:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/"},"wordCount":345,"commentCount":3,"publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/08\/auto-open-all-embedded-hyperlinks-when-reading-specific-emails.jpg","articleSection":["Outlook Solutions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/","url":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/","name":"How to Auto Open All Embedded Hyperlinks when Reading Specific Emails in Outlook","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/#primaryimage"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/08\/auto-open-all-embedded-hyperlinks-when-reading-specific-emails.jpg","datePublished":"2017-08-30T00:54:10+00:00","dateModified":"2025-09-29T10:39:05+00:00","description":"Some users desire that Outlook can automatically open the hyperlinks inserted in the email body when they open and read specific emails. Now, in this article, we will share a method which can realize it with ease.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/auto-open-embedded-hyperlinks-reading-specific-emails-outlook\/#primaryimage","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/08\/auto-open-all-embedded-hyperlinks-when-reading-specific-emails.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/08\/auto-open-all-embedded-hyperlinks-when-reading-specific-emails.jpg","width":1300,"height":896,"caption":"Auto Open All Embedded Hyperlinks when Reading Specific Emails"},{"@type":"WebSite","@id":"https:\/\/www.datanumen.com\/blogs\/#website","url":"https:\/\/www.datanumen.com\/blogs\/","name":"Data Recovery Blog","description":"Discuss every aspect of data recovery","publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.datanumen.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.datanumen.com\/blogs\/#organization","name":"Data Recovery Blog","url":"https:\/\/www.datanumen.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","width":296,"height":397,"caption":"Data Recovery Blog"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataNumen","https:\/\/x.com\/DataNumen","http:\/\/www.linkedin.com\/company\/datanumen","https:\/\/myspace.com\/datanumen\/","http:\/\/www.pinterest.com\/datanumen\/","https:\/\/www.youtube.com\/channel\/UCVIIuuKfUBHSJauUaVP13tw"]},{"@type":"Person","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957","name":"AuthorCCW","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","caption":"AuthorCCW"},"sameAs":["https:\/\/www.datanumen.com\/"]}]}
```
