2 Methods to Remove All the Hyperlinks in Your Outlook Email

When you receive an Outlook email which contains many hyperlinks, you may feel it troublesome in that you always accidentally click on the hyperlinks, which will open the links in Internet Browser at once. This article will teach you 2 means to remove all the hyperlinks.

You must have ever received the emails which contains one or more hyperlinks in the message body, similar to the following screenshot. In this case, it is quite easy for you to click on any of the hyperlinks by accident. As long as you click one, the corresponding site will be opened in your default Internet Browser immediately. There is no doubt that this issue is rather annoying and has plagued a lot of users for a long time. Therefore, confronted with this problem, here we will introduce 2 techniques to help you quickly remove all the hyperlinks in an email. Read on to get in detail.

Several Hyperlinks in an Email

Method 1: Remove the Hyperlinks One by One

The most common method to remove the links in email is to manually remove one by one. Here are the elaborate steps.

  1. For a start, double click on the source email to open it in its own window.
  2. Then click “Actions” button in “Move” group and select “Edit Message”.Edit Message
  3. After that, the current received message will get into edit mode.
  4. Subsequently, you can right click on one hyperlink.
  5. Next from its context menu, you can find and choose “Remove Hyperlink”.Remove Hyperlink in Right Clicking Menu
  6. Hence, you can repeat the Step 4 and 5 to remove several hyperlinks one by one.

If there are a great amount of hyperlinks in the current email, removing them by Method 1 will be a considerably arduous and tedious task. In this situation, you’d better turn to the following approach.

Method 2: Remove the Hyperlinks with Outlook VBA

  1. At the very outset, press “Alt + F11” key buttons to access Outlook VBA editor.
  2. Then open a new module by clicking “Insert” > “Module”.
  3. Next copy and paste the following VBA codes into the new module.
Sub RemoveAllHyperlinksinanEmail()
    Dim objMail As Outlook.MailItem
    Dim objInspector As Outlook.Inspector
    Dim objDocument As Word.Document
    Dim objHyperlinks As Word.Hyperlinks
    Dim objHyperlink As Word.Hyperlink
    Dim strPrompt As String
    Dim nResponse As Integer

    Set objMail = Application.ActiveInspector.CurrentItem
 
    Set objInspector = objMail.GetInspector
    Set objDocument = objInspector.WordEditor
    Set objHyperlinks = objDocument.Hyperlinks
 
    On Error Resume Next
 
    If objHyperlinks.Count > 0 Then
       strPrompt = "Are you sure to remove all the hyperlinks in this email?"
       nResponse = MsgBox(strPrompt, vbYesNo + vbQuestion, "Remove All Hyperlinks")
       If nResponse = vbYes Then
          While objHyperlinks.Count > 0
                objHyperlinks(1).Delete
          Wend
          objMail.Save
      End If
    End If
End Sub

VBA Codes - Remove All the Hyperlinks in Your Outlook Email

  1. After that, you should add the new macro to the Quick Access Toolbar of the Message window.
  • Firstly, open the source email.
  • Then click on the down arrow in Quick Access Toolbar and choose “More Commands”.Add More Commands
  • Next in the popup window, add the newly added macro to Quick Access Toolbar as usual.Add The New Macro to Quick Access Toolbar
  1. Later, you can back to the message.
  2. Now click “Actions” > “Edit Message”.
  3. After that, click on the macro button in Quick Access Toolbar, you will receive a prompt, like the following screenshot.Prompt Asking if Remove All the Hyperlinks
  4. If you select “Yes”, all the hyperlinks will be removed.Remove All Hyperlinks via Outlook VBA

Note: If you want to permanently remove the hyperlinks, you need to disable the “auto hyperlink” feature in Outlook, which you can refer to the previous article – “How to Disable Auto Hyperlink and the Default Way to Follow Link in Outlook”.

Handle Frequent Outlook Issues

As Outlook is prone to error, various problems can occur now and then. Hence, if you are faced with some small issues, you can just utilize the inbox repair utility – Scanpst.exe will fix them. But if the troubles are severe, like damaged Outlook file, you have to resort to an external and reputable 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 mdf recovery and outlook repair software products. For more information visit www.datanumen.com

Comments are closed.