+ Reply to Thread
Results 1 to 3 of 3

Dynamic Hyperlink from two cells

  1. #1
    Registered User
    Join Date
    11-07-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    6

    Dynamic Hyperlink from two cells

    I would like to combine two cells to make a valid hyperlink. The first cell contains the portion of the web page which is always fixed. The second cell adds a product code. When the two are put together the right web link is sourced.

    Here's what doesn't work:
    =HYPERLINK("#Start!WebKey"&M11,"RelatedDocuments")

    It ignores the second cell reference entirely. When I examine the hyperlink were I expect the value of M11 I get ,m11 instead.
    Then I tried to insert a value function and the cell prints the value correctly, but the hyperlink is still wrong (Picture).

    If someone can point me to a solution I would appreciate this.
    HyperlinkIssue.jpg

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Dynamic Hyperlink from two cells

    =HYPERLINK("#Start!WebKey"&M11,"RelatedDocuments")
    as it stands wont work as the # tells it the link is in the same workbook so would be invalid

    i dont get that problem with text eg
    =HYPERLINK("http://www.ebay.co.uk/sch/Fitted-Carpets-Underlay"&C1,"test") where c1 contains /175820/i.html


    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Last edited by martindwilson; 11-07-2013 at 03:00 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-07-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Dynamic Hyperlink from two cells

    I tried using a workbook link instead of a sheet link and this is functional, which solves my problem.
    Either there is a problem with Sheet designations or I have a sheet reference syntax problem.

+ 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. Excel 2007 : Dynamic Hyperlink
    By dgpa in forum Excel General
    Replies: 1
    Last Post: 01-27-2012, 09:43 PM
  2. Dynamic Hyperlink
    By nazimscr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2011, 05:50 AM
  3. launching same hyperlink in dynamic cells
    By Fairport in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-18-2009, 08:46 AM
  4. [SOLVED] Dynamic Hyperlink
    By Larry S in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-17-2006, 07:25 AM
  5. Dynamic Hyperlink
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2005, 12:05 AM

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