ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Keeping linked sheets relative... help! (https://www.excelbanter.com/excel-worksheet-functions/197890-keeping-linked-sheets-relative-help.html)

Gaijintendo

Keeping linked sheets relative... help!
 
I am linking to external sheets but as soon as I enter
[FileName.xls]SheetName!A1
it resolves it to something like
='Macintosh:Users:MyName:Desktop:[FileName.xls]SheetName'!A1
Which is fair enough - that IS what I am referring to - but I want it to
Stay Relative.

Why? Because I would like to use this file as a template, and plop it in
lots of different folders - and see the data be gathered from other files -
so basically - I don't want Excel to fix the links!

Any suggestions. I am working with Excel 2008 but I assume it is much the
same on PC versions of Excel.

Gaijintendo

Keeping linked sheets relative... help!
 
It occurs to me I can use INDIRECT and have the sheet name and filename
generated on the fly...

"Gaijintendo" wrote:

I am linking to external sheets but as soon as I enter
[FileName.xls]SheetName!A1
it resolves it to something like
='Macintosh:Users:MyName:Desktop:[FileName.xls]SheetName'!A1
Which is fair enough - that IS what I am referring to - but I want it to
Stay Relative.

Why? Because I would like to use this file as a template, and plop it in
lots of different folders - and see the data be gathered from other files -
so basically - I don't want Excel to fix the links!

Any suggestions. I am working with Excel 2008 but I assume it is much the
same on PC versions of Excel.


Spiky

Keeping linked sheets relative... help!
 
On Aug 7, 1:18 am, Gaijintendo
wrote:
It occurs to me I can use INDIRECT and have the sheet name and filename
generated on the fly...


This would be much better since Excel stores the complete path of the
filename and it is not dynamic, even on a Mac, which has a better
filing system than that available. (I assume this hasn't changed with
v2008) With your first post, the answer would be to Change Link Source
with each new file combo that you make, which might prove tiresome. If
you can make INDIRECT get the names correct for you, that would likely
be a lot smoother.


All times are GMT +1. The time now is 04:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com