worksheet-name independent hyperlinks

janzen

New Member
Joined
Jun 23, 2011
Messages
6
I just found this post on hyperlinks
http://excel.bigresource.com/Track/excel-ClIe789E/

I have a couple questions on that. And was wondering if hopefully somebody would be able to answer them. I really would appreciate if you could help me.

I have a big workbook, with a lot of sheets and every sheet has a number of hyperlinks on it.
1. Now the names of the sheets will change in the future quite often.
2. The hyperlinks that I have in my spreadsheet are linked to certain cells within the same sheet, those cells have been defined with a name. The hyperlinks are linked to that specified name, to prevent the links from failing, when I insert rows or columns
Question: How can I create a hyperlink to those cells, which are defined by a name, so that I don't have to worry about name changes of the sheet?

And here is my second question.

I have cells that are referencing other cells but are supposed to be a hyperlink to a different sheet at the same time. Again that hyperlink has to be independent of the names of the sheets. Is there a possible solution for that? Maybe by using the code name, that you can find in the vb-editor?

I really would appreciate your help. I am stuck on this for a couple days already. Thank you very much.

Jon
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Welcome to MrExcel.

You can use a formula like:

=HYPERLINK("#Name","TextToDisplay")

Change Name and TextToDisplay to suit.
 
Upvote 0
I am sorry, that I didn't answer earlier. Thank you very much for that tip, I will try that, do you maybe any idea, what i can do to have a reference and a link at the same time? in the same cell?
 
Upvote 0
I tried your version, unfortunately I get an error message "Reference is not valid". I don't know why. Let me show you what I have.

A8: Content is the word "Orders"; this cell has a defined name connected to it called 'Orders' (all without quotation marks) and I have a long table downwards with more cells like that just with different names. The cell addresses will change over time, since I have to insert more rows regularly.

Above my table I want to list of links to all the little 'headings'

E3: Content is the word "Orders" again, just this time I want this to be hyper linked to the defined name 'Orders'

I tried the following versions of the hyperlink formula:

1. =HYPERLINK("#Orders","Orders")
2. =HYPERLINK(MID(CELL("FileName",A1),FIND("[",CELL("FileName",A1)),255)&"!Orders","Orders")

every time I click on the hyperlink I get the error message, 'Reference not valid' I am not a very experienced person with excel yet, but have to work my way into it. I really would appreciate some help. Thank you very much already.
 
Upvote 0
As you can see I need the hyperlink to be independent from the sheet name. I don't know what I am doing wrong. I really would appreciate some help. Thank you very much already.
 
Upvote 0
I am sorry that it took me so long to reply to your answer. Thank you very much for the reply. I tried it out on an empty sheet and a new defined name and it worked perfectly as long as you define the name for the workbook. I guess I forgot an very important detail about the defined name part. The defined name, is defined for that spreadsheet only, because I will have the same name on other worksheets.

I would be interested, how it works for you, when you define a name for a specific worksheet, and change the name of the sheet afterwards. For some reason that is giving me problems then.

Thank you very much for all the tips and help you are giving me.

Jon
 
Upvote 0
another thing that might be a problem, do hyperlinks have a problem with Spaces in Sheet-names?

Thank you very much

Jon
 
Upvote 0
Try a formula like this:

=HYPERLINK("#'"&SUBSTITUTE(CELL("filename",Sheet2!A1),LEFT(CELL("filename",Sheet2!A1),FIND("]",CELL("filename",Sheet2!A1),1)),"")&"'!Orders","Orders")
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top