Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet with 2500 email address that are hyperlinks with the
persons name being shown. Aside from clicking on each one, is there any way to get the address behind the link? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Saved from a previous post:
Are the hyperlinks inserted via Insert|Hyperlink? If yes: You can use a User defined function to retrieve the link. Option Explicit Function GetURL(Rng As Range) As String Application.Volatile Set Rng = Rng(1) If Rng.Hyperlinks.Count = 0 Then GetURL = "" Else GetURL = Rng.Hyperlinks(1).Address End If End Function So if you had a hyperlink in A1, you could put =getURL(a1) in that adjacent 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 Marc LaMassa wrote: I have a spreadsheet with 2500 email address that are hyperlinks with the persons name being shown. Aside from clicking on each one, is there any way to get the address behind the link? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
convert column of text email addresses to hyperlinks all at once | Excel Worksheet Functions | |||
Hyperlinks and Email Addresses in Excel | Excel Worksheet Functions | |||
Extracting email addresses from hyperlinks. | Excel Discussion (Misc queries) | |||
Transfer Email addresses from spreadsheet to email address book | Excel Discussion (Misc queries) | |||
Convert entire columns of text email addresses to hyperlinks | Excel Worksheet Functions |