Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to convert multiple email addresses to hyperlinks in Excel? 

If you have a list of plain text email addresses in a worksheet, and now, you want to convert theses email addresses to hyperlinks that you can send emails while clicking the addresses. Of course, you can convert them to hyperlinked email addresses, but, this method will be boring if there are multiple addresses needed to be converted. In this article, I will talk about some good tricks to deal with this task.

Convert multiple email addresses to hyperlinks with Formula

Convert multiple email addresses to hyperlinks with VBA code


Convert plain URL text to clickable hyperlinks:

With Kutools for Excel’s Convert Hyperlinks feature, you can quickly convert multiple plain text to clickable hyperlinks, as well as it can help you extract the real addresses from the hyperlinked text.

doc convert addresses to hyperlinks 5


arrow blue right bubble Convert multiple email addresses to hyperlinks with Formula


With the Hyperlink function, you can quickly convert the column email addresses to hyperlinked addresses at once.

1. Enter this formula =hyperlink("mailto:"&A2) into a blank cell where you want to put the result, see screenshot:

doc convert addresses to hyperlinks 1

2. Then drag the fill handle down to the cells that you want to contain this formula, and all the email addresses have become clickable hyperlinks as following screenshot shown:

doc convert addresses to hyperlinks 2


arrow blue right bubble Convert multiple email addresses to hyperlinks with VBA code

As you can see, by using the above formula, a string “mailto:” will be added in front of each email addresses, if you don't want the mailto: within the addresses, the following VBA code may do you a favor.

1. Hold down the Alt + F11 keys in Excel, and it opens the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following macro in the Module Window.

VBA code: Convert multiple email addresses to hyperlinks

Sub EmailHylink()
'updateby Extendoffice 20151113
    Dim xRg As Range
    Dim xCell As Range
    Dim xAddress As String
    Dim xUpdate As Boolean
    On Error Resume Next
    xAddress = Application.ActiveWindow.RangeSelection.Address
    Set xRg = Application.InputBox("Please select the data range", "Kutools for Excel", xAddress, , , , , 8)
    If xRg Is Nothing Then Exit Sub
    xUpdate = Application.ScreenUpdating
    Application.ScreenUpdating = False
    For Each xCell In xRg
        xCell.Hyperlinks.Add Anchor:=xCell, Address:="mailto:" & xCell.Value
    Next
    Application.ScreenUpdating = xUpdate
End Sub

3. After pasting the code, please press F5 key to this code, and a prompt box will pop out to remind you select the data range that you want to use, see screenshot:

doc convert addresses to hyperlinks 3

4. And then click OK, all the selected email addresses have been converted to the hyperlinked addresses, see screenshot:

doc convert addresses to hyperlinks 4


Extract real addresses from hyperlinks:

With Kutools for Excel’s Convert Hyperlinks, you can quickly extract real URL addresses from hyperlinked cells at once.

doc extract address from hyperlinks


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    DL · 8 months ago
    Works perfectly in Excel 2003! Thanks much!
  • To post as a guest, your comment is unpublished.
    Katharine · 1 years ago
    I'm in a MAC environment so don't have a ALT key. Any other ieas?
    • To post as a guest, your comment is unpublished.
      Rodger Moran · 7 months ago
      The equivalent for the ALT key is the command key (located to the left of the Option Key).

      Both of these keys are located to the left of the spacebar.
  • To post as a guest, your comment is unpublished.
    Festus · 1 years ago
    you are a star, it worked perfectly. thanks a million
  • To post as a guest, your comment is unpublished.
    Mike Smith · 2 years ago
    I cannot find the find converting cells to hyperlinks.