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


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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 · 1 years 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 · 1 years 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 · 2 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.