Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
How do I convert an entire column of text only email addresses
to hyperlinks pointing to the same email address? Any help greatly appreciated |
#2
![]() |
|||
|
|||
![]()
Try this one for Column B in the activesheet
Sub test() For Each myCell In Columns("B").Cells.SpecialCells(xlCellTypeConstant s) If myCell.Value Like "*@*" Then ActiveSheet.Hyperlinks.Add Anchor:=myCell, _ Address:="mailto:" & myCell.Value, TextToDisplay:=myCell.Value End If Next End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "TSA" wrote in message ... How do I convert an entire column of text only email addresses to hyperlinks pointing to the same email address? Any help greatly appreciated |
#3
![]() |
|||
|
|||
![]()
Works great!........Thanks!
"Ron de Bruin" wrote in message ... Try this one for Column B in the activesheet Sub test() For Each myCell In Columns("B").Cells.SpecialCells(xlCellTypeConstant s) If myCell.Value Like "*@*" Then ActiveSheet.Hyperlinks.Add Anchor:=myCell, _ Address:="mailto:" & myCell.Value, TextToDisplay:=myCell.Value End If Next End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "TSA" wrote in message ... How do I convert an entire column of text only email addresses to hyperlinks pointing to the same email address? Any help greatly appreciated |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I make make my hyperlinks show the email address they are . | Excel Discussion (Misc queries) | |||
Convert multiple columns to rows | Excel Worksheet Functions | |||
How do I format email addresses as Text only? | Excel Worksheet Functions | |||
Convert Numeric into Text | Excel Worksheet Functions | |||
Text to columns will not shut off. | Excel Worksheet Functions |