ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I make email addresses in a column of cells active links? (https://www.excelbanter.com/excel-discussion-misc-queries/68331-how-do-i-make-email-addresses-column-cells-active-links.html)

Jerimoth

How do I make email addresses in a column of cells active links?
 
I have a column of email addresses, but they are static. How do I turn them
into active cells that when clicked take me to a new email message in Outlook?

Roger Govier

How do I make email addresses in a column of cells active links?
 
Hi

Mark the range of cells with the email addresses.
EditPaste as Hyperlink

--
Regards

Roger Govier


"Jerimoth" wrote in message
...
I have a column of email addresses, but they are static. How do I turn
them
into active cells that when clicked take me to a new email message in
Outlook?




Gary''s Student

How do I make email addresses in a column of cells active links?
 
Try this macro:

Sub email()
Dim r As Range
For Each r In Selection
ActiveSheet.Hyperlinks.Add Anchor:=r, _
Address:="mailto:" & r.Value, TextToDisplay:=r.Value
Next
End Sub

Just select the cells you want to convert and run the macro.
--
Gary''s Student


"Jerimoth" wrote:

I have a column of email addresses, but they are static. How do I turn them
into active cells that when clicked take me to a new email message in Outlook?


Dave Peterson

How do I make email addresses in a column of cells active links?
 
How about using another column:

=hyperlink("mailto:" & a1,a1)

and drag down.

Jerimoth wrote:

I have a column of email addresses, but they are static. How do I turn them
into active cells that when clicked take me to a new email message in Outlook?


--

Dave Peterson


All times are GMT +1. The time now is 12:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com