How do I convert email addresses to clickable links?

R

Rick Wetzel

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
 
R

Ron de Bruin

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
 
Top