Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a column that has e-mail addresses typed in each cell. If I place the curser in the cell and hit return, Execl converts the address into a hyperlink to where I can just click the cell and Outlook opens automatically with the e-mail address in the "To:" box. Is their a VBA that will convert each cell in the column to hyperlinks? -- Thanks Shawn |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Shawn,
Here's one way: Sub Test Dim c As Range With ActiveSheet For Each c In Application.Intersect(.UsedRange, .Range("A:A")) .Hyperlinks.Add anchor:=c, Address:="mailto:" & c.Value Next c End With End Sub -- Hope that helps. Vergel Adriano "Shawn" wrote: I have a column that has e-mail addresses typed in each cell. If I place the curser in the cell and hit return, Execl converts the address into a hyperlink to where I can just click the cell and Outlook opens automatically with the e-mail address in the "To:" box. Is their a VBA that will convert each cell in the column to hyperlinks? -- Thanks Shawn |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
e-mail address in an Excel 2003 cell | New Users to Excel | |||
How make hyperlink refer to cell content rather than cell address. | Excel Discussion (Misc queries) | |||
delete everything except e-mail address from cell | Excel Programming | |||
Can you make a Excel hyperlink connect to an outlook address card | Excel Discussion (Misc queries) | |||
Separating an email address embedded in a "mail to:" hyperlink | Excel Discussion (Misc queries) |