+ Reply to Thread
Results 1 to 5 of 5

Get the Hyperlink address form a cell

Hybrid View

plans Get the Hyperlink address... 11-23-2022, 03:50 PM
plans Re: Get the Hyperlink address... 11-23-2022, 04:47 PM
vichopalacios Re: Get the Hyperlink address... 11-24-2022, 11:13 AM
plans Re: Get the Hyperlink address... 11-24-2022, 01:00 PM
vichopalacios Re: Get the Hyperlink address... 11-24-2022, 05:29 PM
  1. #1
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    596

    Get the Hyperlink address form a cell

    Hello,
    I am trying this script:
    msgbox activecell.hyperlinks(1).address
    Could you please advise what is the correct code?
    Thanks

  2. #2
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    596

    Re: Get the Hyperlink address form a cell

    The value in the active cell is hyperlinked to a worksheet in the same active workbook.
    I am trying to extract the worksheet name of the place where the hyperlink is directed.

  3. #3
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Get the Hyperlink address form a cell

    When the link is to the same book, you use SubAddress

    MsgBox ActiveCell.Hyperlinks(1).SubAddress
    Barriers are there for those who don't want to dream

  4. #4
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    596

    Re: Get the Hyperlink address form a cell

    Thank You, it worked!

  5. #5
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Get the Hyperlink address form a cell

    Glad to know it helped you,
    thanks for the reps !!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Database form that can capture file address and save to cell in hyperlink format
    By Roro36 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2020, 06:32 AM
  2. [SOLVED] Making a cell address as a hyperlink to it...
    By crowmagnus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2019, 09:22 AM
  3. [SOLVED] To Add Hyperlink to cell address
    By Barieq in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-26-2017, 09:12 AM
  4. [SOLVED] Cell address as text to hyperlink
    By akhileshgs in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-02-2016, 04:04 AM
  5. [SOLVED] User Form - Hyperlink Button within a Form, to create a Link on a Designated Cell
    By Sinalk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2013, 07:29 AM
  6. Hyperlink & cell address
    By PChav in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-22-2008, 01:57 PM
  7. hyperlink with cell value as part of address
    By chevee55 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2006, 03:25 PM

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