ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   How to Display hyperlink addresses that already exist as links to (https://www.excelbanter.com/new-users-excel/78458-how-display-hyperlink-addresses-already-exist-links.html)

Michelle

How to Display hyperlink addresses that already exist as links to
 
How do you do this? Is there a formula? We have a document with 3800 rows
of data. Two of the cells have text in them that link to URLs - we now need
to display the full link address in those cells rather than the text for a
conversion that we're donig. Is there an easier way other than getting the
link properties for each and every hyperlink?

Gary''s Student

How to Display hyperlink addresses that already exist as links to
 
Enter this tiny UDF:

Function hyp2(r As Range) As String
hyp2 = r.Hyperlinks(1).Address
End Function

If A1 contains a hyperlink then =hyp2(A1) will return the URL (address part)
--
Gary's Student


"Michelle" wrote:

How do you do this? Is there a formula? We have a document with 3800 rows
of data. Two of the cells have text in them that link to URLs - we now need
to display the full link address in those cells rather than the text for a
conversion that we're donig. Is there an easier way other than getting the
link properties for each and every hyperlink?



All times are GMT +1. The time now is 05:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com