INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Link to a file whose name is specified in a cell

Link to a file whose name is specified in a cell

(OP)
I'm trying to type in a file name and then link to it.

='path'[file-name]sheet-name'!cell-reference

I'd like to type in the path, file-name, sheet-name and cell-reference in adjacent cells and have the formula work.

Is this possible?

RE: Link to a file whose name is specified in a cell

(OP)
Concatenate I do all the time, I have not used "Hyperlink".
I'll give it a try.
You don't happen to have an example, do you?

RE: Link to a file whose name is specified in a cell

(OP)
When I use Hyperlink, it places a hyperlink to the other worksheet but it does not retrieve the value from the cell.

RE: Link to a file whose name is specified in a cell

You want the INDIRECT() function.

RE: Link to a file whose name is specified in a cell

(OP)
Indirect seems to only work when the child worksheets are open.
I get #REFs in each cell even though the concatenation makes an identical string as that created otherwise, when I navigate to and click on a cell in an open child worksheet.
Brackets, Exclamation Points, Apostrophes and all.

Perhaps more explanation is needed.
I have 20 separate worksheets whose file names change, call them children.
I want to make a summary worksheet, call it the parent, that displays and works with 10 items of data from all the children.
The children worksheets change names for each project but they themselves are clones so the cell addresses within each remains the same.
Some children are XLS and others are XLSX ( does that matter? )
For the first child, I typed in one set of references then copy/pasted the rest.
Then I used copy/replace to change the filename of the rest and Excel wanted to verify each and every link.
Very tedious, so I figured I would create a list in the parent, naming each child and then concatenating the file names to make a fully qualified address.

RE: Link to a file whose name is specified in a cell

This is discussed at length at:
http://dailydoseofexcel.com/archives/2004/12/01/in...

which includes a post from me with a link to a spreadsheet with some alternative solutions:

http://interactiveds.com.au/software/getvalue.zip

There is a UDF (Pull()) which works like indirect and is the simplest, but is very slow for more than a few cells.

There are also some macros which work faster, but need to be updated with a button click.

Doug Jenkins
Interactive Design Services
http://newtonexcelbach.wordpress.com/

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close