I'm having problems using the Hyperlink function of Excel. I have a name in cell A1, In cell a2 I want a hyperlink that links to the worksheet that is named the same as the name in cell A1
|
For example
The linked sheet name is Page 2 and linked cell number is A4 and message is TEST. |
||||
|
|
|
The
Since the first part is a string, if your value for
This is quite long and painful, sorry, so someone might have a better suggestion - but I think this will work. Note that this will only work on saved files as it requires a filename to work on. Use As way of a brief explanation, what the
|
|||||||||||
|
|
Be a little cautious about using the actual Filename in the hyperlink because you create a dependency on the existence of that Filename. If I link to a cell in the same workbook, I use:
|
||||
|
|
|
This worked for me when I don't know what the name of the spreadsheet file is going to be (the users change the name for each version). My friendly text in the cell is called "LINK" because the name of the sheet needs to exist in another cell so doubling up the name confused the users. You would copy this formula down next to a list of worksheet names in col H (starting at row 2 in this case)...works out like a clickable table of contents: =HYPERLINK( MID(CELL("filename",$A$1), FIND("[",CELL("filename",$A$1)), FIND("]",CELL("filename",$A$1))- FIND("[",CELL("filename",$A$1))+1) & "#" & $H2 & "!A1", "LINK") |
|||
|