How do I show the address of hyperlink to another cell in Excel worksheet?
How do I show the address of hyperlink to another cell in Excel worksheet?
Are the hyperlinks inserted via Insert|Hyperlink?
If yes:
You can use a User defined function to retrieve the link.
So if you had a hyperlink in A1, you could put =getURL(a1) in that adjacent![]()
Please Login or Register to view this content.
cell.
Be aware that if you change the hyperlink, then this formula cell won't change
until your workbook calculates.
If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
Short course:
Open your workbook.
Hit alt-f11 to get to the VBE (where macros/UDF's live)
hit ctrl-R to view the project explorer
Find your workbook.
should look like: VBAProject (yourfilename.xls)
right click on the project name
Insert, then Module
You should see the code window pop up on the right hand side
Paste the code in there.
Now go back to excel.
Into a test cell and type:
Formula:
Please Login or Register to view this content.
Outlook???????? wrote:
>
> How do I show the address of hyperlink to another cell in Excel worksheet?
--
Dave Peterson
Last edited by zbor; 04-14-2016 at 06:50 AM.
this function is good. Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks