+ Reply to Thread
Results 1 to 3 of 3

Hyperlink Cell to URL...URLs values stored in another sheet

  1. #1
    Registered User
    Join Date
    02-20-2024
    Location
    Sydney
    MS-Off Ver
    Office365
    Posts
    4

    Hyperlink Cell to URL...URLs values stored in another sheet

    I want to be able to hyperlink a cell to a URL...but the web address to link to is in another sheet.

    So lates say I have a A1 in sheet1 with an entered value of 26. When I click on the cell, I want it to open a URL in my browser...and that URL is hyperlink is stored in sheet2 B2.

    I just can't get this to work.

    I can't enter a formula (=hyperlink) into that cell sheet1!A1 as I need the value in that cell to be able to be changed.

    When I highlight the cell and open the insert link dialog box, and I try to reference the cell that contains the URL, click OK and then click on the cell, it says "Cannot open the specified file".

    Any help greatly appreciated.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Hyperlink Cell to URL...URLs values stored in another sheet

    The hyperlink feature of a cell does not have the ability to do indirection for a URL contained in another cell. I think you are going to need VBA to do this. The box you are filling in in the insert link dialog box needs the URL itself, or you set it up to jump to a cell. But you can't reference a cell to provide the URL.

    This may not be optimal for your situation but I would do this by putting a HYPERLINK formula in one cell, and the value you want in another cell.

    What is the logic that determines that cell Sheet1!A1 references a URL in Sheet2!B2?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    02-20-2024
    Location
    Sydney
    MS-Off Ver
    Office365
    Posts
    4

    Re: Hyperlink Cell to URL...URLs values stored in another sheet

    Ok thanks for that...bit of a bummer. I was hoping there would be an easy fix!

+ 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. Values stored in other excel sheet. Is it possible?
    By Prabakaran3003 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2016, 01:23 PM
  2. Delete rows based on stored values in a seperate sheet
    By jiggy2013 in forum Excel General
    Replies: 4
    Last Post: 09-19-2013, 10:57 PM
  3. Paste URL as Hyperlink or Format Existing URLs
    By badhabitrabbit in forum Excel General
    Replies: 1
    Last Post: 05-16-2013, 08:22 PM
  4. Replies: 6
    Last Post: 07-31-2012, 09:37 PM
  5. Hyperlink URLs keep changing
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2010, 06:14 PM
  6. HYPERLINK doesn't update urls when input cells change
    By sarah.k in forum Excel General
    Replies: 2
    Last Post: 03-04-2009, 01:53 PM
  7. exporting hyperlink URLs to word mail merge
    By thedudepa in forum Excel General
    Replies: 4
    Last Post: 09-27-2007, 03:45 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