Hi qwicker,
You can override the Hyperlink Base if you include the workbook's file path.
Since hard coding the path in the Hyperlink address is problematic if you are going to move the file to another folder, you can make that dynamic with one of these methods...
Define a Named Range with Workbook scope to reference the workbook's current file path:
Name: ThisWorkbookPath
Refers to: =SUBSTITUTE(LEFT(CELL("filename"),SEARCH("]",CELL("filename"))-1),"[","")
Then you use the HYPERLINK() function for hyperlinks within the same workbook like this...
=HYPERLINK(ThisWorkbookPath& "#Sheet2!D3","MyDisplayText")
Another option would be to use a UDF (User Defined Function) to return the string needed by the HYPERLINK() function.
Place this code in a Standard Code Module in your workbook with the hyperlinks...
Then you could use this syntax:
=HYPERLINK(ThisWorkbookRef(Sheet2!D3),"MyDisplayText")
The UDF method has the benefit of having a direct cell reference that will update in the event the sheet is renamed or the referenced cell is moved. That could be accomplished with the the formula method, but it the formula would be lengthy.
Bookmarks