[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Excel 2010 - using text in a cell to refer to a link path

Posted on 2015-01-06
8
Medium Priority
?
56 Views
Last Modified: 2015-01-11
I have the typical problem of excel swapping paths in our links.  It is getting really frustrating.

I am wondering if there is a way to get the value of a cell into the formula for the link.

Please see the attached image.

TIA
excel-links.jpg
0
Comment
Question by:gpchicago08
[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
  • 5
  • 2
8 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40533429
Use the Indirect function, e.g.

=INDIRECT(a11)

This will return the same as

=X:\INTRANET.FILES\01_Human Resources (etc)!C5
0
 

Author Comment

by:gpchicago08
ID: 40533432
INDIRECT needs the file link to be open.  This won't work.
0
 

Author Comment

by:gpchicago08
ID: 40533447
What about getting a constant from Name Manager into the link formula?

LinkPath=X:\INTRANET.FILES\01_Human Resources\[GP-ProjectList.xlsm]Active Projects

How can I get this constant into the cell

='X:\INTRANET.FILES\01_Human Resources\[GP-ProjectList.xlsm]Active Projects'!C5
=LinkPath!C5  <---???
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 85

Expert Comment

by:Rory Archibald
ID: 40533482
You can't. You'll have to use code, INDIRECT with open workbooks, or use an add-in like Morefunc.xll

Can you not just use the Edit Links dialog?
0
 

Author Comment

by:gpchicago08
ID: 40533486
Can code be written to fix the links?  I can then add it to a button and the world will be right again!
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 40533568
How would it know what to fix them to? It's probably as easy to use the Edit Links dialog, or a simple Find/Replace.
0
 

Accepted Solution

by:
gpchicago08 earned 0 total points
ID: 40533646
I don't want the users to have to do it.  It can be hard-coded into the button.  It would be used just to fix the links.
0
 

Author Closing Comment

by:gpchicago08
ID: 40542926
I obviously can't do this simply.  I'm going to start a new question for the button programming.
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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

650 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