Cook09
asked on
Hyperlink Worksheet Names
I have several Formula and Function Category Worksheets that have specific formula names for each. There is a seperate worksheet for each category with their specific formula/function names in one or more columns. How can I select those Formula / Function Names and have it automatically add a hyperlink to its specific worksheet, located within the same workbook. The Formula/Function Name, is identical on both worksheets. The target worksheet has the name on both the Worksheet Tab and cell A1 if that makes any difference.
I actually did this manually, but when copying some of those to another worksheet, some of the hyperlinks did not transfer properly, while some did, don't know why. So, now I want to automate the process.
I actually did this manually, but when copying some of those to another worksheet, some of the hyperlinks did not transfer properly, while some did, don't know why. So, now I want to automate the process.
ASKER
I've posted a workbook that shows what I'd like to do. It's still a work in progress, but the name(s) blue, I'd like to be able to select, some run into multiple columns, and then generate a hyperlink from the name to the worksheet.
Links.xlsx
Links.xlsx
ASKER
No, It didn't work. I've attached two screen shots to show the issue. It tries to open up the file within it's original location.
Hyperlink1.png
Hyperlink2.png
Hyperlink1.png
Hyperlink2.png
did you rename the file ?
ASKER
No I didn't, should I have?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, that does seem to work. I need to check it out on some other pages, but what you had did link to the three pages that was supplied. Do you know why this worked and the other's didn't.
ASKER
I have some names that need a ' ' around them, as they have spaces in them. Where is the best place to put those?
the difference is in the way the hyperlinks are made.
first try used hyperlinks as formulae where we need to put the worksheet name inside of the formula for the hyperlink to work. this will screw things up.
the last try used macro-code inserted hyperlinks where we can leave the worksheet name out of the hyperlink and it works independantly of the worksheet name. so even worksheets with spaces in the name will work as expected using this approach.
first try used hyperlinks as formulae where we need to put the worksheet name inside of the formula for the hyperlink to work. this will screw things up.
the last try used macro-code inserted hyperlinks where we can leave the worksheet name out of the hyperlink and it works independantly of the worksheet name. so even worksheets with spaces in the name will work as expected using this approach.
ASKER
Okay, I understand. The key though is that the names have to match exactly. I appreciate your help. It definitely saved me a ton of time, with over 340 worksheets.
ASKER
Understanding of how hyperlinks work really helped in this case.
ASKER
Actually, I tried the code with a space between two of the names. It didn't work. "Invalid Reference." I had to still put a _ in between the two words.
Open in new window