ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel Hyperlink-show link (https://www.excelbanter.com/excel-discussion-misc-queries/196708-excel-hyperlink-show-link.html)

KMA-VLD

Excel Hyperlink-show link
 
I have an excel databae table which has one column in which each cell reads
"Show Record" and each of these lables has a hyperlink to a different
webpage. I want to export the data to use in Filemaker and when I save as a
text file, I lose the hyperlink. Is there a way to show the URL instead of
the "View Record" or can I create another column in which the hyperlink will
be displayed?

Thanks

Mike H

Excel Hyperlink-show link
 
Hi,


You could use this UDF.
Alt+F11 to open VB editor
Right click 'This Workbook'
Insert Module
Paste this in on the right

Function GetLink(HyperlinkCell As Range)
GetLink = Replace(HyperlinkCell.Hyperlinks(1).Address, "mailto:", "")
End Function

Enter the formula
=GetLink(A1) in a cell to return the underlying address of a hyperlink in
that cell


Mike

"KMA-VLD" wrote:

I have an excel databae table which has one column in which each cell reads
"Show Record" and each of these lables has a hyperlink to a different
webpage. I want to export the data to use in Filemaker and when I save as a
text file, I lose the hyperlink. Is there a way to show the URL instead of
the "View Record" or can I create another column in which the hyperlink will
be displayed?

Thanks


KMA-VLD

Excel Hyperlink-show link
 

Thanks Mike-that worked

"Mike H" wrote:

Hi,


You could use this UDF.
Alt+F11 to open VB editor
Right click 'This Workbook'
Insert Module
Paste this in on the right

Function GetLink(HyperlinkCell As Range)
GetLink = Replace(HyperlinkCell.Hyperlinks(1).Address, "mailto:", "")
End Function

Enter the formula
=GetLink(A1) in a cell to return the underlying address of a hyperlink in
that cell


Mike

"KMA-VLD" wrote:

I have an excel databae table which has one column in which each cell reads
"Show Record" and each of these lables has a hyperlink to a different
webpage. I want to export the data to use in Filemaker and when I save as a
text file, I lose the hyperlink. Is there a way to show the URL instead of
the "View Record" or can I create another column in which the hyperlink will
be displayed?

Thanks



All times are GMT +1. The time now is 05:22 PM.

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