+ Reply to Thread
Results 1 to 3 of 3

Thread: HYPERLINK function without filename

  1. #1
    Registered User
    Join Date
    12-04-2007
    Posts
    26

    Question HYPERLINK function without filename

    I am trying to insert a hyperlink that refers to a cell in a different sheet of the same workbook using the =HYPERLINK function.

    I can get it to work with a formula like:

    =HYPERLINK("[Book2.xls]Sheet1!A1","test")
    However when I remove the filename so the formula looks like

    =HYPERLINK("Sheet1!A1","test")
    I get a "cannot open specified file error"

    I really don't want to include the filename -- what if it changes?

    Is there any way to do this (other than using =CELL("filename"))?

    I also don't want to use the "Insert > Hyperlink" menu command, because I will eventually want to use a formula to create the address for the link.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Cochrane,Alberta
    MS-Off Ver
    XL 2003,2007,2010
    Posts
    6,843

  3. #3
    Registered User
    Join Date
    12-04-2007
    Posts
    26
    Thanks. In brief, I needed to add a hash sign to the reference:

    =HYPERLINK("#Sheet1!A1","test")

+ 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. Hyperlink function to Current Workbook Only
    By bmasella in forum Excel Worksheet Functions
    Replies: 6
    Last Post: 11-30-2011, 11:09 AM
  2. hyperlink function with a match/lookup
    By robotball in forum Excel Worksheet Functions
    Replies: 7
    Last Post: 09-01-2009, 11:27 PM
  3. Hyperlink to Files with IF or MATCH function
    By Sultix in forum Excel Worksheet Functions
    Replies: 0
    Last Post: 06-23-2008, 04:20 PM
  4. HYPERLINK within an IF function.
    By skatmandu2002 in forum Excel General
    Replies: 2
    Last Post: 06-19-2008, 07:20 PM
  5. basic hyperlink function
    By bobflu in forum Excel General
    Replies: 6
    Last Post: 03-29-2008, 06:55 PM

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