ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Changing Hyperlinks Displayed Text Back (https://www.excelbanter.com/excel-discussion-misc-queries/95395-changing-hyperlinks-displayed-text-back.html)

Ed

Changing Hyperlinks Displayed Text Back
 
How can I change a whole column of Hyperlinks that have a different Displayed
text back to displaying the hyperlink address. Ex. http://myplace.com
Displays "My House" change to http://myplace.com Displays
"http://myplace.com"
Ed

Gary''s Student

Changing Hyperlinks Displayed Text Back
 
This small UDF returns the address of an inserted hyperlink:

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

so

=HYPERLINK(hyp2(A1),hyp2(A1))

will create a new hyperlink in whick both the link and name are the same.
Copy this down an un-used column.
--
Gary''s Student


"Ed" wrote:

How can I change a whole column of Hyperlinks that have a different Displayed
text back to displaying the hyperlink address. Ex. http://myplace.com
Displays "My House" change to http://myplace.com Displays
"http://myplace.com"
Ed



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

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