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
Solved

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

Posted on 2015-01-06
8
51 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
  • 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
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 Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
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…

856 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