Email addresses in a comma-delimited (CSV) file

  • Thread starter email addresses in csv file
  • Start date
E

email addresses in csv file

I am trying to create a csv from another application to be imported into
Excel. One of the columns will contain email addresses. Is there a way that I
can format the data in the column to have the addresses be 'links' when
brought into Excel.
 
D

Dave Peterson

First, hyperlinks are not just formatting. The Insert|hyperlink style of
hyperlinks are objects in excel.

Second, CSV files are plain old text. They don't hold these kinds of objects.
(And they also don't contain any formatting properties, either.)

But third, you may be able to cheat a bit.

Can you go back to the other application and have them change the way the email
field in the CSV file is created.

If you can get them to create a text field that looks like:
"=hyperlink(""mailto:[email protected]"")"

like:

1234,"=hyperlink(""mailto:[email protected]"")","another field",...

For me, xl2003 (with my USA function names) sees this field as a formula. The
cell isn't formatted to show a hyperlink (in my simple tests). But when you
click on one of those cells, the default email program starts up correctly.

============
Alternatively, instead of opening the .CSV file by just double clicking on it or
using File|open (in xl2003 menus), you could open the file using a macro in a
workbook dedicated to opening these CSV type files.

Then the macro could open the file and even convert the values in the fields to
hyperlinks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top