e-mail links

  • Thread starter Thread starter Don Lloyd
  • Start date Start date
D

Don Lloyd

Hi all,

I have an imported file that contains a list of names which have links to
e-mail addresses.
The names are blue in colour and the address shows when the mouse hovers
over the name.
How can I extract the e-mail address and for example, place it in another
column ?

Thank you and regards,
Don
..
 
Dim cell as Range
for each cell in selection
if cell.Hyperlinks.count > 1 then
cell.offset(0,1).Value = cell.hyperlinks(1).Address
end if
Next
 
Hi Tom,

Both the timing and the content are brilliant.

regards,
Don
 

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

Back
Top