Solved

Dynamic links to another worksheet in same workbook?

Posted on 2013-05-24
6
175 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
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 will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

738 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