Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to set up a workbook with several values from linked workbooks. I
would like to enter a value in column A and then use that value as the filename in the rest of the cells that link to the external workbook. For example: I want to enter A122 into colum A - and have the cell in column B pick that value up and link to a cell in an external workbook with that name Obviously, the following function links correctly to the external file and returns the correct value: ='G:\Local files\Sample Tracking\[A122.xls]Sample Request'!$E$2 But, I do not want to have to change the syntax in a large number of cells everytime I add to the list. I only want to enter the value (A122) in the first cell and have the others retrieve linked values correctly. In other words, I want a dynamic, external link. Thanx in advance for any help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() you can do this via a standard INDIRECT. BUT you'll have to ensure the workbooks are open. laurent longre has a free addin MOREFUNC which includes a functions INDIRECT.EXT that circumvents the problem. if you need distribute the workbook, users must have the addin. d/l from http://xcell05.free.fr/ -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam wattkisson wrote : I want to set up a workbook with several values from linked workbooks. I would like to enter a value in column A and then use that value as the filename in the rest of the cells that link to the external workbook. For example: I want to enter A122 into colum A - and have the cell in column B pick that value up and link to a cell in an external workbook with that name Obviously, the following function links correctly to the external file and returns the correct value: ='G:\Local files\Sample Tracking\[A122.xls]Sample Request'!$E$2 But, I do not want to have to change the syntax in a large number of cells everytime I add to the list. I only want to enter the value (A122) in the first cell and have the others retrieve linked values correctly. In other words, I want a dynamic, external link. Thanx in advance for any help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks. INDIRECT did the trick. Now I will try to get around the open
workbook updating issues as you suggested. "keepITcool" wrote: you can do this via a standard INDIRECT. BUT you'll have to ensure the workbooks are open. laurent longre has a free addin MOREFUNC which includes a functions INDIRECT.EXT that circumvents the problem. if you need distribute the workbook, users must have the addin. d/l from http://xcell05.free.fr/ -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam wattkisson wrote : I want to set up a workbook with several values from linked workbooks. I would like to enter a value in column A and then use that value as the filename in the rest of the cells that link to the external workbook. For example: I want to enter A122 into colum A - and have the cell in column B pick that value up and link to a cell in an external workbook with that name Obviously, the following function links correctly to the external file and returns the correct value: ='G:\Local files\Sample Tracking\[A122.xls]Sample Request'!$E$2 But, I do not want to have to change the syntax in a large number of cells everytime I add to the list. I only want to enter the value (A122) in the first cell and have the others retrieve linked values correctly. In other words, I want a dynamic, external link. Thanx in advance for any help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I make the filename in a link variable based on a cell valu | New Users to Excel | |||
Use filename in cell to link data | Excel Worksheet Functions | |||
How to make an external link to a filename defined by a cell value | Links and Linking in Excel | |||
How do I use a cell value as the filename in an external link? | Excel Discussion (Misc queries) | |||
How do I use a cell value as the filename in an external link? | Excel Worksheet Functions |