Solved

Dynamic links to another worksheet in same workbook?

Posted on 2013-05-24
6
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: 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!

 
LVL 9

Accepted Solution

by:
jsdray earned 500 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

632 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