Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
PA PA is offline
external usenet poster
 
Posts: 101
Default E-mail from Excel 2002

I have a column of 350 e-mail addresses. I need to convert them all to
e-mail hyperlinks so that when I click on one of the addresses, an e-mail
item is generated.

I have selected them all and played around with the hyperlink button, but
cannot get it to work properly. An e-mail is created when an entry is
clicked, but it is always addressed to first individual on the list. What is
the correct procedure to convert these entries to working e-mail address
short of converting them one at a time.

Please help
Thanks
Paul
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,123
Default E-mail from Excel 2002

Use this Paul

You can run this macro for column A

Sub test()
For Each myCell In Columns("A").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

Or insert a column with formulas

=HYPERLINK("mailto:" & A1,A1)




--
Regards Ron de Bruin
http://www.rondebruin.nl



"PA" wrote in message ...
I have a column of 350 e-mail addresses. I need to convert them all to
e-mail hyperlinks so that when I click on one of the addresses, an e-mail
item is generated.

I have selected them all and played around with the hyperlink button, but
cannot get it to work properly. An e-mail is created when an entry is
clicked, but it is always addressed to first individual on the list. What is
the correct procedure to convert these entries to working e-mail address
short of converting them one at a time.

Please help
Thanks
Paul



  #3   Report Post  
Posted to microsoft.public.excel.newusers
PA PA is offline
external usenet poster
 
Posts: 101
Default E-mail from Excel 2002

Thanks again Ron
Since I am not a VB user, I utilized the hyperlink fuction so I could
explain it if someone asked.

"Ron de Bruin" wrote:

Use this Paul

You can run this macro for column A

Sub test()
For Each myCell In Columns("A").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

Or insert a column with formulas

=HYPERLINK("mailto:" & A1,A1)




--
Regards Ron de Bruin
http://www.rondebruin.nl



"PA" wrote in message ...
I have a column of 350 e-mail addresses. I need to convert them all to
e-mail hyperlinks so that when I click on one of the addresses, an e-mail
item is generated.

I have selected them all and played around with the hyperlink button, but
cannot get it to work properly. An e-mail is created when an entry is
clicked, but it is always addressed to first individual on the list. What is
the correct procedure to convert these entries to working e-mail address
short of converting them one at a time.

Please help
Thanks
Paul




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 Add-in: Open Database Connectivity available for Excel Nick B Excel Discussion (Misc queries) 8 December 7th 06 06:04 PM
Displaying charts from excel 2003 in excel 2002? nick_h Excel Discussion (Misc queries) 0 May 9th 05 02:41 AM
Formula Arrays VERY SLOW in Excel 2002 Patrick Excel Worksheet Functions 2 January 27th 05 12:59 AM
Macro in Excel 2002 to save a workbook to a FTP location Lloyd Excel Discussion (Misc queries) 0 December 21st 04 02:49 PM
Can you print labels using Excel 2002 in a Word 2002 mail merge? Individual_ Excel Discussion (Misc queries) 3 December 17th 04 08:39 PM


All times are GMT +1. The time now is 05:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"