LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
DHL DHL is offline
external usenet poster
 
Posts: 2
Default Excel 2003 - Parameterize Workbook Links?

I have a link from one workbook to another e.g.
='C:\temp\[Book1.xls]Sheet1'!$A$1
However, I want to parameterize which external workbook to go to, e.g.
in my main workbook I would like to have a cell which contains the location
and name of another workbook and then use the contents of this cell to
dynamically make up my link query.
For example, say I have in cell $B$2 of my main workbook a value of
C:\temp\[Book1.xls]Sheet1
then in cell $B$3 I want to dynamically make a link to this external
workbook, e.g.
=<$B$2!$A$1
This would bring back the contents of cell $A$1 from
C:\temp\[Book1.xls]Sheet1, however, if I then changed the file & location
details in cell $B$2 to, for example, C:\windows\[Workbook.xls]Sheet2, the
dynamic link in cell $B$3 would then bring back the contents of cell $A$1
form C:\windows\[Workbook.xls]Sheet2.

Hope that makes sense. How would I do this?
Many thanks
DHL
 
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
Excel 2003 - #REF! in Links Suzanne-Fusion[_2_] Excel Worksheet Functions 3 February 23rd 07 02:09 PM
Links in Excel 2003 cinvic Excel Discussion (Misc queries) 3 December 15th 06 12:49 PM
Links - Excel 2003 Terence Excel Discussion (Misc queries) 2 November 2nd 06 09:24 PM
Dynamic Links Excel 2003 ARW Excel Discussion (Misc queries) 1 January 3rd 06 05:48 PM
not updating links in excel 2003 Tony Excel Worksheet Functions 0 February 11th 05 09:57 AM


All times are GMT +1. The time now is 02:18 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"