Re: file path: reference to other workbooks



Thank you all.

My intention at first is getting data from a file that is not opened. I
realised that is probably not feasible. I have to write a function to
do that.

But suppose the file is opened. Now I get my file name in a cell, say
A1, which named "LastFile". What is the correct syntax to reference a
cell in "LastFile"? I can't use explicit file name, because it will
change.

Harlan Grove wrote:
Barb Reinhardt wrote...
In order for this to work, the workbook must be opened. Try

='c:\abc\[june.xls]total'!a1
...

If the workbook were open, the formula

=[june.xls]total!A1

would be sufficient because Excel won't load multiple files with the
same base filename, e.g., june.xls, into memory at the same time.

.



Relevant Pages

  • Re: file path: reference to other workbooks
    ... Yes I have to use indirect() and the workbook must be open. ... in a cell, A1, which is named "LastFile". ... A1, which named "LastFile". ...
    (microsoft.public.excel.worksheet.functions)
  • Re: file path: reference to other workbooks
    ... "muster" wrote: ... in a cell, A1, which is named "LastFile". ... I thought it's a syntax question, ... A1, which named "LastFile". ...
    (microsoft.public.excel.worksheet.functions)
  • Re: file path: reference to other workbooks
    ... rephrase my question. ... in a cell, A1, which is named "LastFile". ... I thought it's a syntax question, ... A1, which named "LastFile". ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Sorry, no fish in the DNA tank
    ... cell is the minimum possible unit of life, ... It simply was not their intention, ... What is the smallest number of genes required for a self-replicating ... This supports the idea that the fragility is intentional, ...
    (talk.origins)
  • Re: Sorry, no fish in the DNA tank
    ... cell is the minimum possible unit of life, ... It simply was not their intention, ... What is the smallest number of genes required for a self-replicating ... It is fragile because it has hardly any genes/tools to survive in the ...
    (talk.origins)