+ Reply to Thread
Results 1 to 3 of 3

Extract Hyperlink Address

  1. #1
    Registered User
    Join Date
    11-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    45

    Extract Hyperlink Address

    Hi there,
    I am looking for a way to extract the address of a hyperlink stored in a cell.

    This following code fills the Public screenShot with the address of the selection when the user clicks 'OK':

    Please Login or Register  to view this content.

    And this fills the specified Range with the hyperlink on a button_Click event:

    Please Login or Register  to view this content.
    My question is how do I fill screenShot with the address stored in the hyperlink in the specified cell?

    ex:

    Please Login or Register  to view this content.
    Thanks for the help!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Extract Hyperlink Address

    Something like this...

    screenShot = sh1.Range("EH20").Offset(i - 1, 0).Hyperlinks(1).Address
    Last edited by AlphaFrog; 04-09-2013 at 12:02 AM.

  3. #3
    Registered User
    Join Date
    11-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Extract Hyperlink Address

    @AlphaFrog - Thanks! That's what I was aiming for.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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