Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dynamic links to another worksheet in same workbook?

Posted on 2013-05-24
6
Medium Priority
?
188 Views
Last Modified: 2013-11-06
I have a list of values in column A of Sheet1, as the user creates worksheets corresponding to values in Sheet1 I want to create hyperlinks on Sheet1 to the new worksheets.

E.G.

Sheet1 Cell A2 contains a value "001", the user creates a worksheet call "Test-001", is it possible to create a dynamic hyperlink link to cell A1 in the new worksheet?
 
Dynamic so that the formula can be copied down for other cell vaqlues.
0
Comment
Question by:kieranjcollins
  • 4
  • 2
6 Comments
 
LVL 9

Expert Comment

by:jsdray
ID: 39194005
=HYPERLINK("c:\test" & A1,"TEST-" & A1)
0
 
LVL 9

Expert Comment

by:jsdray
ID: 39194010
=HYPERLINK("c:\test" & A2,"TEST-" & A2)

pardon me, now it is as you asked...
0
 

Author Comment

by:kieranjcollins
ID: 39194230
Is there a way to write this such that it doesn;t reference the file location ?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 9

Accepted Solution

by:
jsdray earned 2000 total points
ID: 39196121
Sure as long as it's in the same location as the current.
I also realized I  left off the file extension.  Of course, you may need to modify that to your exact preference.

=HYPERLINK("test-" & A2 &".xlsx","TEST-" & A2)
0
 

Author Comment

by:kieranjcollins
ID: 39198654
Sorry to be a pain, can one do this without including the filename in the formula?
0
 
LVL 9

Expert Comment

by:jsdray
ID: 39608329
Sorry, but no.  How would it know where to go?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question