Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default e-mail links follow up T.Ogivly

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default e-mail links follow up T.Ogivly

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

--
Regards,
Tom Ogilvy


"Don Lloyd" wrote in message
...
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




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default e-mail links follow up T.Ogivly

Thank you, that's perfect

Don

"Tom Ogilvy" wrote in message
...
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

--
Regards,
Tom Ogilvy


"Don Lloyd" wrote in message
...
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






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
Getting links to follow inserted rows [email protected] Links and Linking in Excel 3 July 16th 09 12:51 AM
LINKS TO FOLLOW FROM ONE SHEET (=SHEET2!C3) TO ANOTHER ?? John Excel Discussion (Misc queries) 1 June 21st 07 01:50 PM
Links Don't follow with copy [email protected] Excel Discussion (Misc queries) 1 September 22nd 06 10:37 PM
Can I e-mail a workbook that contains links to other workbooks? jillyr Excel Discussion (Misc queries) 1 January 9th 06 06:28 PM
e-mail links Don Lloyd Excel Programming 2 September 21st 04 07:58 PM


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

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

About Us

"It's about Microsoft Excel"