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.
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.
- For a start, double click on the source email to open it in its own window.
- Then click “Actions” button in “Move” group and select “Edit Message”.
- After that, the current received message will get into edit mode.
- Subsequently, you can right click on one hyperlink.
- Next from its context menu, you can find and choose “Remove Hyperlink”.
- 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
- At the very outset, press “Alt + F11” key buttons to access Outlook VBA editor.
- Then open a new module by clicking “Insert” > “Module”.
- 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
- 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”.
- Next in the popup window, add the newly added macro to Quick Access Toolbar as usual.
- Later, you can back to the message.
- Now click “Actions” > “Edit Message”.
- After that, click on the macro button in Quick Access Toolbar, you will receive a prompt, like the following screenshot.
- If you select “Yes”, all the hyperlinks will be removed.
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.
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