Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This is what I have now:
='C:\Reports\[MyReport.xls]March'!B4 I would like to have the path in one central place, instead of updating each cell if the workbook is moved, renamed or splitted in more workbooks in different folders. This way when the Workbook is moved I only have to update the path in one location. e.g. (cell A2 on AnotherTab) In cell A2 on AnotherTab I store the path: C:\Reports\[MyReport.xls] And construct something like this to make it work: =AnotherTab!A2&'March'!B4 (<-- this does not work) Can anyone help me please? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You need the INDIRECT function:
=INDIRECT(AnotherTab!A2&"March!B4") Regards, Per "Excel-Guy" skrev i meddelelsen ... This is what I have now: ='C:\Reports\[MyReport.xls]March'!B4 I would like to have the path in one central place, instead of updating each cell if the workbook is moved, renamed or splitted in more workbooks in different folders. This way when the Workbook is moved I only have to update the path in one location. e.g. (cell A2 on AnotherTab) In cell A2 on AnotherTab I store the path: C:\Reports\[MyReport.xls] And construct something like this to make it work: =AnotherTab!A2&'March'!B4 (<-- this does not work) Can anyone help me please? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
There is a way to get this using INDIRECT() as below but this works only if
the file is open. =INDIRECT("'" & AnotherTab!A2 & "March'!B4") There is no built in function which can do this. You can try the add-in called Morefunc which has a function called INDIRECT.EXT that will work even if the source book is closed.. Check out http://xcell05.free.fr/morefunc/english/index.htm -- Jacob "Excel-Guy" wrote: This is what I have now: ='C:\Reports\[MyReport.xls]March'!B4 I would like to have the path in one central place, instead of updating each cell if the workbook is moved, renamed or splitted in more workbooks in different folders. This way when the Workbook is moved I only have to update the path in one location. e.g. (cell A2 on AnotherTab) In cell A2 on AnotherTab I store the path: C:\Reports\[MyReport.xls] And construct something like this to make it work: =AnotherTab!A2&'March'!B4 (<-- this does not work) Can anyone help me please? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Relative Path to a Folder | Excel Discussion (Misc queries) | |||
Path and Number of files in a folder. - Pass to Macro. | Excel Discussion (Misc queries) | |||
Setting a path to a folder | Excel Discussion (Misc queries) | |||
Browse button on form for folder path | Excel Discussion (Misc queries) | |||
how to change path name of html source folder ? | Excel Worksheet Functions |