LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default relative address or reference

Hi, I am having problems trying to dynamically link files to my main files.

In my Main file I have a cell that is linked to another workbook. For
simplistic sakes lets say cell A1. The formula in A1 is
='H:\Files\[073109.xlsx]Backup'!$A$1.

- So no problem here. Whatever is in my 073109.xlsx file on the Backup tab
in cell A1 will populate my other A1 cell.

I want to make my main file dynamic so that I can change the reference file
on the fly. To do this I put in a variable cell in B1 in my main file that
the user can input the date of the file.

- In A1, I now put in the formula
=concatenate("'","H:\Files\[",B1,".xlsx]Backup'!$A$1")... if I put 073109
into B1 then I get the following in cell A1
"='H:\Files\[073109.xlsx]Backup'!$A$1"

The problem is that it just shows the text instead of actually retrieving
the data in that file. I need it to show the result not just provide the
string?

Any ideas?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I avoid excel change absolute address to relative address Miguel Excel Discussion (Misc queries) 3 May 10th 07 11:18 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
How to use address from relative reference across worksheets? Kncuda Excel Worksheet Functions 0 August 2nd 06 03:33 PM
what is difference between absolute address and relative address? what is difference between absolute addr Excel Discussion (Misc queries) 1 July 22nd 06 08:17 AM
Address Base - Relative CycleFitness Excel Discussion (Misc queries) 0 February 2nd 05 04:11 PM


All times are GMT +1. The time now is 05:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"