e-mail links follow up T.Ogivly

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

Don Lloyd

Hi Tom,
Such was my faith, I posted before trying :-)

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

Apparently, my cells don't have a Hyperlinks.Count >1
??
regards,
Don
 
1 should have been 0 - my typo

Dim cell as Range
for each cell in selection
if cell.Hyperlinks.count > 0 then
cell.offset(0,1).Value = cell.hyperlinks(1).Address
end if
Next
 
Thank you, that's perfect

Don

Tom Ogilvy said:
1 should have been 0 - my typo

Dim cell as Range
for each cell in selection
if cell.Hyperlinks.count > 0 then
cell.offset(0,1).Value = cell.hyperlinks(1).Address
end if
Next
 

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