+ Reply to Thread
Results 1 to 6 of 6

Thread: Hyperlink

  1. #1
    Registered User
    Join Date
    01-26-2010
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    23

    Hyperlink

    Hi,

    how do i manually create a hyperlink?

    i know i can select the cell and then insert hyperlink (CTRL+K) and then select the sheet/cell i want it to go to but...

    i have to do this for 200 rows on 2 different sheets.
    i want to be able say to Sheet1 A1 Link to Sheet2 A1 then Sheet1 A2 Link to Sheet3 A1 so the only thing i need to change is the sheet number... not the cell.

    is there a formula that i can drag down to do this or somthing else?

    Regards,
    Jamie

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Hyperlink

    Try something like:

    =HYPERLINK("#'Sheet"&ROWS($A$1:$A2)&"'!A1","Click Here")

    copied down

    Note: You can change "Click here" to any text you want to use to advise user of linking...
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    01-26-2010
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Hyperlink

    Thats works perfectly but what i didn't know is that when i do the following it loses the hyperlink

    HTML Code: 
    ='\\TMT-DAT-001\Data\TMT\Production\RECALL\CPW_Recall\[Recall 6 Tracker.xlsm]Main Page'!B6
    You can probably tell but this basically makes that cell = whatever is displayed in another workbook.

    When i put that in it then loses the hyperlink... is there anyway of putting the 2 codes together?

  4. #4
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Hyperlink

    Have a look at the HYPERLINK function in Excel help. There are several examples there...

    I am not sure how you are combining that last post with the original request....
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  5. #5
    Registered User
    Join Date
    01-26-2010
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Hyperlink

    i have got 2 workbooks (lets say book1 and book2)
    book2 copies pretty much everything in book1

    for eample book2, sheet1, a1 = book1, sheet1, a1
    i also need book2, sheet1, a1 to link to book2, sheet2, a1

    so book2 needs to not only = book1 but the same cell needs to hyperlink to another sheet, hope that makes sense

    i didnt realise that after putting
    HTML Code: 
    ='\\TMT-DAT-001\Data\TMT\Production\RECALL\CPW_Recall\[Recall 6 Tracker.xlsm]Main Page'!B6
    in it would lose the link, i knew the text would change but i thought the link would have be retained?

    Regards,
    Jamie

  6. #6
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Hyperlink

    To link to a specific cell or cells in another workbook I think you have to used named cells (i.e go the cell in the other workbook and then go to Insert|Name|Define or enter a name in the box above cell A1 in the same line as the formula bar....

    the "friendly name" argument (2nd argument in the HYPERLINK) formula can be a formula itself which references that named cell.. so that the actual value in the cell appears and then you can hyperlink it...

    .. again review Hyperlink Help for specific syntax.... Hyperlinks
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

+ 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.2.0