+ Reply to Thread
Results 1 to 4 of 4

Hyperlink to a sheet through a cell containing that sheetname

  1. #1
    Registered User
    Join Date
    08-06-2007
    Posts
    8

    Hyperlink to a sheet through a cell containing that sheetname

    I have a dynamic list of sheets and i would like to be able to click on an name and arrive on that sheet. I have actually worked out the biggest part of the problem, all that remains is finding a clever way to replace the path to the file with some kind of reference, perhaps something like CELL("filenamne"), so that it won't matter if i change the name of the workbook.

    Bookname is an array containing all the sheetnames in the workbook.

    HYPERLINK("[C:\xxx\Filename.xls]'"&(INDEX(Bookname;ROW()+2)&"'!$A$1");INDEX(Bookname;ROW()+2)))

    If anyone could help me I would be sooo happy. I can a link on how to make the list of sheet names if someones interested

    /Bjorn
    Last edited by consultantguy; 11-16-2007 at 05:10 AM.

  2. #2
    Forum Contributor
    Join Date
    12-02-2004
    Location
    London
    Posts
    255
    Try this:-

    HYPERLINK(MID(CELL("filename",$A$1),FIND("[",CELL("filename",$A$1),1),FIND("]",CELL("filename",$A$1),1)-FIND("[",CELL("filename",$A$1),1)+1)&"&(INDEX(Bookname;ROW()+2)&"'!$A$1");INDEX(Bookna me;ROW()+2)))

  3. #3
    Registered User
    Join Date
    08-06-2007
    Posts
    8
    YEEEES! Finally! Thank you so much!

    There was some small issue about some ' "" & etc.

    I'm a bit stressed so I haven't properly translated it back but you can probably understand anyway, the ";" are ","

    Not working:

    &"'"&(INDEX(Boknamn;ROW()+2)&"'!$A$1");INDEX(Boknamn;ROW()+2)))

    Working:

    &"&(INDEX(Boknamn;ROW()+2)&"'!$A$1");INDEX(Boknamn;ROW()+2)))

    A spent two hours last night on this, feel grat now!

  4. #4
    Registered User
    Join Date
    05-20-2009
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Hyperlink to a sheet through a cell containing that sheetname

    Hello,

    This is exactly what I am trying to do with one of my workbooks. Can someone please help me with how to set up this for my workbook?? Any help would be great! I have attached a file for reference! Thanks so much!!!

    Jillian
    Attached Files Attached Files

+ 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.6.0 RC 1