Wouldn't
="["&A1&"]"&A2
work, where A1 contains the filename (e.g., testfile) and
A2 the cell address to use (e.g., Sheet1!$A$1)
Aladin
=========
Noph it will just show the value of what you bind together. So instead of showing the value in the file and cell i want.
cell a1: testfile.xls
cell a2: sheet1!$A$1
cell a3: ="["&A1&"]"&A2
and the result will be: [testfile.xls]sheet1!$A$1
ERIK Noph it will just show the value of what you bind together. So instead of showing the value in the file and cell i want. cell a1: testfile.xls
CHANGE THE FORMULA IN A3 TO:
=INDIRECT("["&A1&"]"&A2)
Aladin
============= Wouldn't : ="["&A1&"]"&A2 : work, where A1 contains the filename (e.g., testfile) and A2 the cell address to use (e.g., Sheet1!$A$1) : Aladin : ========= : Hello!
Thanks Aladin
Im getting closer to a solution. But this metod only works if i have the file i want to get data from open. As soon as i close it i get a #referense! error in that cell.
Maybe i need some macro to do the work for me instead. ERIK : Noph it will just show the value of what you bind together. So instead of showing the value in the file and cell i want. : cell a1: testfile.xls cell a2: sheet1!$A$1 cell a3: ="["&A1&"]"&A2 : and the result will be: [testfile.xls]sheet1!$A$1 CHANGE THE FORMULA IN A3 TO: =INDIRECT("["&A1&"]"&A2) Aladin ============= : : Wouldn't
Im getting closer to a solution. But this metod only works if i have the file i want to get data from open. As soon as i close it i get a #referense! error in that cell. Maybe i need some macro to do the work for me instead. : ERIK