The setup
- I have an Excel workbook stored on my hard drive.
- The structure is such that on the first sheet I have a list of the names of the other sheets in the same workbook (...which can be created or deleted).
- All the names on the list, on the first sheet, are supposed to be hyperlinks to the corresponding sheet in the workbook. So, by clicking the name on the first sheet you jump to the corresponding sheet.
- When a new sheet is created a macro creates also the new name on the list on the first sheet and makes a hypelink of it. This works. ...BUT... The links point to the stored version of the file, not to the open workbook! Clicking the links opens the stored file and not the one which is under work.
QUESTION: How to create a hyperlink that always points to the same open workbook and not to the stored copy of it?
Try this:
Address is the URL and SubAddress is a localtion of the page (or a sheet or a range in excel workbooks).