A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

covert text to e-mail address



 
 
Thread Tools Display Modes
  #1  
Old August 9th, 2004, 03:43 PM
Richard Rosell
external usenet poster
 
Posts: n/a
Default covert text to e-mail address

I am using Office XP.

I wish to create a database of e-mail addresses in Excel.
I began by copying the list of names from a company web site directory list.
I used the "text to columns" tool to separate first and last names into
separate columns.
I then used the concatenate function to create a column of e-mail addresses.
I would now like to make those addresses into active e-mail hyperlinks.

Can anyone suggest a method I might use to covert the text of the e-mail
addresses into hyperlinks?

(I hope the info above is clear).

Thanks,

Richard







  #3  
Old August 9th, 2004, 05:29 PM
cmart02
external usenet poster
 
Posts: n/a
Default covert text to e-mail address

Richard,

You could do something like this:

Sub convert()

For i = 1 To 6
linkAddress = Cells(i, 1)
Cells(i, 1).Select

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _
"mailto:" & linkAddress, TextToDisplay:=linkAddress
Next
End Sub

You can elaborate the loop a bit more in order to fit your needs.

Regards,
Robert
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong From E-Mail Address When Sending Faxes From Outlook Marc Bressman Fax 3 August 13th, 2004 07:14 AM
previously read mail kept on regenerating itself wendi Outlook Express 4 August 9th, 2004 12:34 AM
Outlook 2003, selecting right address for new mail Tony Gravagno General Discussion 6 July 14th, 2004 11:19 AM
Edit same text in multiple locations angelo11 Formatting Long Documents 2 May 19th, 2004 06:24 PM
How to sort an address with numbers and text in cell MICHAELD. Worksheet Functions 2 January 23rd, 2004 10:31 PM


All times are GMT +1. The time now is 12:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.