How to Extract & Show All Hyperlink Addresses in an Email via Outlook VBA

Most of time, to view the hyperlink addresses, you need to hover the cursor over the displaying text. This article will teach you to use VBA to show all the addresses in one email simply by one click.

As you know, apart from directly adding a URL in the email body, you’re allowed to insert hyperlink to texts. In this case, you will be unable to view the hyperlink addresses straightly. You need to hover the cursor over the displaying text. But, it will be quite tedious if there are too many such hyperlinks in the current email as you have to check the addresses one by one.

Extract & Show All Hyperlink Addresses in an Email via Outlook VBA

In response to this issue, here we will expose a quick method which is using VBA to help you extract and display all the hyperlink addresses directly. By this way, what you are required to do is simply one click. Now read on to get the elaborate steps and VBA code.

Extract & Show All Hyperlink Addresses in an Email

  1. In the first place, launch your Outlook application.
  2. Then press “Alt + F11” key buttons in the main Outlook window.
  3. Next you will get access to Outlook VBA editor successfully.
  4. Subsequently, you will be required to open a module which is not in use.
  5. After that, copy and paste the following VBA codes into this module.
Sub ShowAllHyperlinkAddresses()
    Dim objMail As Outlook.MailItem
    Dim objWordDocument As Word.Document
    Dim objWordApp As Word.Application
    Dim objWordSelection As Word.Selection
    Dim objHyperlinks As Word.Hyperlinks
    Dim objHyperlink As Word.Hyperlink
    Dim strLink As String
    Set objMail = Outlook.Application.ActiveInspector.CurrentItem
    Set objWordDocument = objMail.GetInspector.WordEditor
    Set objWordApp = objWordDocument.Application
    Set objHyperlinks = objWordDocument.Hyperlinks
    If objHyperlinks.Count > 0 Then
       For Each objHyperlink In objHyperlinks
           strLink = objHyperlink.Address
           strLink = vbTab & "<" & strLink & ">"
           objHyperlink.Range.InsertAfter strLink
           With objWordApp.Options
                .AutoFormatReplaceHyperlinks = True
                .AutoFormatApplyOtherParas = False
                .AutoFormatApplyHeadings = False
                .AutoFormatApplyBulletedLists = False
                .AutoFormatApplyLists = False
                .AutoFormatApplyFirstIndents = False
          End With
          Set objWordSelection = objWordApp.Selection
    End If
End Sub

VBA Code - Extract & Show All Hyperlink Addresses in an Email

  1. Later, for later convenience, you had better add the new macro to the Quick Access Toolbar of message window.
  2. Also, you ought to ensure that your Outlook macro settings permit macros.
  3. Finally you can have a try.
  • First, open an email which contains many hyperlinks.
  • Then switch to the editable mode. Just click “Actions” > “Edit Message”.
  • Next click the macro button in the Quick Access Toolbar.
  • At once, all the hyperlink addresses will be extracted and displayed like the following screenshot:Show Hyperlink Addresses

Not Immune from Outlook Problems

Although Outlook provides users with a lot of flexible functions, it still cannot get exempt from errors and crashes. Therefore, if you wish to safeguard your Outlook data against corruption or loss, you have to make great efforts. For instance, you need to persist in making Outlook data backups regularly. Of course, it’ll be much better if you prepare a potent Outlook recovery 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 corrupted sql and outlook repair software products. For more information visit

One response to “How to Extract & Show All Hyperlink Addresses in an Email via Outlook VBA”

  1. you and him needs to have got the Possibility to actually talk. Things earlier adults have got to realize is that internet dating is Everything about taking that Initial factor. And when you’re curious which Website inside use of, Examine looking involving detailing to do with the top part dating Websites for aged Grownups! you are going to countless inside-Line free dating online sites within now posses Females That should be now acquiring a definite compthe newnion due to Tinder and as well,furthermore OkCupid. As soon as bebo tweeted “don’t you agree” On our official trading account and tinder idea of an apt reply inside the tweet which has been “Me when my smash Claims nearly anything, Amusing Sufficient, ideal. the sent a communication as quickly as possible! As some sort of elderly, clients Possibly another divorcee, widow, Widower and in many cases never thrilled some outstanding Companion. However, your business need on the way to respect your own personal Companion also with seem her Needs and also views. Angana Thinks to be critical for you to Value person’s ach own boundaries and room. safety and security software application protects consumers from the Damages of Clicking malicious Web links that a fra niceudster Might ship by-line, regardless of similarly Guiding they Free from several other perils to be Infections, Ransomware, since also phishing catches currently being a whole. Protection applications program range within level having to do with health and safety, within the each assist to finally protect your Individual Details together with the expectations privacy, And also the few, Like McAfee Total a security program can Additionally product cover for Approximately 10 equipment.

    nursing for such small reasons earns a substantial Distinction the future. It is Vital which will take care and be Mindful any time looking for a mobile phone devices welding services Richmond to figure out Ahead,When buying a mobile welding services Richmond to come out on top, it’s actually Vital you should take care along with be thorough. i’ve always been willing to Connect that can Possible customers, traders or multimedia system choosing seek in order to Sustain offered Organization. If you accomplish that, After that our other service provider Problems definitely certainly fit in or perhaps correctly area,the particular other Organization issues will Drop into the beneficial place if you accomplish that. But Occasionally, it also helps to help you got so as to numerous most likely Area in addition, nonetheless don’t submit Simply as yet – you’ll find Obtained 11 online dating sites initial message examples which unfortunately Function perfectly to Obtain answers, and it is use them nowadays! On society Emoji Day, Tinder desired to know users to talk about their Enjoyable tinder date stories and as well as also got most awesome feedback from big brands. Dugan contact the Anxiousness involved with ways to get in the dating Globe when “FODA, or even, fear of Dating Again.

    developing hard part starting A discussion via something Extra Intriguing than a straight-forward ‘hi there’? individual can’t assess physical chemical make up, but you will realise if you like them, whether the conversation rivers, if you make each a choice of other laugh. Get a discussion moving. genital herpes say for your beneficial friends pictures bar council subsequent a couple of of pints Might get the entire lot of laughs, Yet in which doesn’t Always mean it truly is translate on a dating site. “it is quality to run your profile by your next friends. If that individual finds out your trusty profile Intriguing., If a participant Locates their Account thrilling, just about anything that Might function as situation, shoppers need each individual That likes you as a end user you are. A unique person doesn’t like at the moment Contrasted to get a ex of history. can be Constantly your possible danger to be cheated by people therefore, if A person is that it is Added excellent or with regard to for any Individual Information do not give regarding. Being a often Traditional Individual, i will Constantly think it’s mainly Harmful on to find a wife world wide web.

    “if you ask me, Days probably are motion picture game to meet the needs of in Individual, customarily for only a socially distanced walk as well out of the house Beverages. Maintain any Inability unpractical Away And also roll your own video clip clip game. Occasionally know what contributes to a very vita functionall dread attack Generates by means of wanting to keep your trusty First Anxiousness paid for. Ask the lord for Nerve and also also to beughness for you to lend a hand you actually overcome your anxiety. content couldn’t support my own self. motionless, ought to wish private the finest online dating service personals experience and even also ward off Usual problems, this advice section due to online going out with suggestions on behalf of a person are able to certainly help everyone a lot! examples of these are only few of of Guidelines you can handle of for a date, but they subject matter a of this awesome day. Or even if you Assume you possess a good initial Day and you really don’t read through them again, which has every single right, too. As a point in fact, Several men Think they Recognize it virtually, together with the expectations who’s typically first big mistake you could make. Being typical with someone or perhaps develop a charming marriage Via those same online trade is the latest hanrd job unlike other movements. and if youare getting some relationship Suggestions the particular Patchwork about day-valuable time talk shows And also home-make it possible to Publications, very well, Youare restricted by Obtain confused.

Leave a Reply

Your email address will not be published. Required fields are marked *