How do I convert email addresses to clickable links?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have imported a column of valid email address. How can I make them
clickable links to email. No problem if I type them but there are far to
many.

Help apprecited. Thanks.

Rick Wetzel
 
Hi Rick

Try this one for Column B in the activesheet

Sub test()
For Each myCell In Columns("B").Cells.SpecialCells(xlCellTypeConstants)
If myCell.Value Like "*@*" Then
ActiveSheet.Hyperlinks.Add Anchor:=myCell, _
Address:="mailto:" & myCell.Value, TextToDisplay:=myCell.Value
End If
Next
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top