Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 577
Default hyperlink address

sI would like to take the hyperlink address from one cell that has a
hyperlink associated with it and paste the hyperlink address as a string into
another cell. In otherwords if cell A1 has a hyperlink assigned to it of
http://googgle.com, then paste that as a string in cell B2. Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default hyperlink address

Try

With Range("A1")
If .Hyperlinks.Count 0 Then
Range("b1").Value = .Text
End If
End With


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Scott" wrote in message
...
sI would like to take the hyperlink address from one cell that has a
hyperlink associated with it and paste the hyperlink address as a string
into
another cell. In otherwords if cell A1 has a hyperlink assigned to it of
http://googgle.com, then paste that as a string in cell B2. Is this
possible?


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
Hyperlink: Why am I getting ../../../ in the address bar? Blue-eyed girl Excel Discussion (Misc queries) 0 April 5th 07 03:26 PM
Hyperlink into Address [email protected] Excel Programming 0 November 21st 06 04:51 PM
Moving rows with Hyperlink doesn't move hyperlink address Samad Excel Discussion (Misc queries) 15 June 22nd 06 12:03 PM
Display hyperlink as web address tatih Excel Programming 2 June 15th 04 05:42 PM
reading html when hyperlink address not hyperlink text diplayed Kevin Excel Programming 1 December 4th 03 10:13 PM


All times are GMT +1. The time now is 08:14 PM.

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"