+ Reply to Thread
Results 1 to 3 of 3

hyperlink question

  1. #1
    hartjezt
    Guest

    hyperlink question

    I have a list of various hyperlinks in an excel worksheet (cells a1-a...). I
    would like to retreieve the actual addresses of these hyperlinks and display
    them next to the addresses in column b (cells b1-b...). Does anyone know if
    this is possible. Thank You.

  2. #2
    Richard O. Neville
    Guest

    Re: hyperlink question

    Am I oversimplifying something? How about clicking on each link, which would
    take you to the actual address? You could then copy and paste the address
    (url or e-mail) back into your spreadsheet.

    "hartjezt" <hartjezt@discussions.microsoft.com> wrote in message
    news:30D28DA4-9408-49C2-8D8D-D291BA947A38@microsoft.com...
    >I have a list of various hyperlinks in an excel worksheet (cells a1-a...).
    >I
    > would like to retreieve the actual addresses of these hyperlinks and
    > display
    > them next to the addresses in column b (cells b1-b...). Does anyone know
    > if
    > this is possible. Thank You.




  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello hartjezt,

    Here is macro to do just that. Add a VBA module to project and copy this code into it.

    Sub ShowAddresses()

    Dim HyperLnk

    For Each HyperLnk In ActiveSheet.Hyperlinks
    HyperLnk.Range.Offset(0, 1).Value = HyperLnk.Address
    Next HyperLnk

    End Sub

    Sincerely,
    Leith Ross

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1