Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
see: http://www.mvps.org/dmcritchie/excel/buildtoc.htm and use for example the code Sub MakeEmailLinks() Dim cell As Range Dim i As Integer For Each cell In Intersect(Selection, _ Selection.SpecialCells(xlConstants, xlTextValues)) If InStr(1, cell, "@") 0 Then With Worksheets(1) .Hyperlinks.Add Anchor:=cell, _ Address:="mailto:" & cell.Value, _ ScreenTip:=cell.Value, _ TextToDisplay:=cell.Value End With End If Next cell End Sub or see: http://www.mvps.org/dmcritchie/excel...erlinkFormulas -- Regards Frank Kabel Frankfurt, Germany Prometheus wrote: If a worksheet cell contains text something like this: " and I hit F2 (edit) and then (enter), the cell converts to a hyperlink "mailto:jsmith...". How can I get a macro to do the same task, for a range of cells? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Macro how to create email link for the email addresses in aRange or Selection | Excel Worksheet Functions | |||
can I copy a column of email addresses, paste into email address? | New Users to Excel | |||
Email addresses in Excel need to format for mass email | Excel Worksheet Functions | |||
Transfer Email addresses from spreadsheet to email address book | Excel Discussion (Misc queries) | |||
Move a Column of 500 Email Addresses into BCC Field of an Email | Excel Worksheet Functions |