Greetings.
I am in the process of constructing a workbook that will, of necessity, contain dozens of references to many external worksheets - the external worksheets all follow a naming pattern, and the cells I will be looking at will remain constant, however.
For example, I will be looking at Cell H16 in several different workbooks (one book per day, I need to do a weekly summary that will be ongoing every week for the foreseeable future. My formulas are referencing about 15 different cells in each external workbook.
I find it a pain in the rear to copy my formulae, and then have to edit them to update the target workbook name for each day, E.g. Feb20.xls, Feb21.xls, Feb22.xls.
Is there some way I can set up "reference text" cell values in MY workbook, containing the Drive and Path to the external workbooks, and use them? I've tried putting values such as:
C:\FEBHF[22.XLS]
HOTELFLASH'
!H16
in cells, and then building a formula like =+A3+A4+A5+A6, but my result is only the LITERAL C:\FEBHF\[22.XL]HOTELFLASH'!H16"
I've tried concatenating the equal sign in front as well, but that still doesn't work.
I need to return the ACTUAL value represented by the EXTERNAL REFERENCE that I've built. I checked out the INDIRECT function, but that returns a "#REF" error.
What am I missing? Can what I envision even be done?
Thanks much in advance.
Jim
Me? Ambivalent? Well, yes and no....
Another free Access forum:
More Access stuff at
I am in the process of constructing a workbook that will, of necessity, contain dozens of references to many external worksheets - the external worksheets all follow a naming pattern, and the cells I will be looking at will remain constant, however.
For example, I will be looking at Cell H16 in several different workbooks (one book per day, I need to do a weekly summary that will be ongoing every week for the foreseeable future. My formulas are referencing about 15 different cells in each external workbook.
I find it a pain in the rear to copy my formulae, and then have to edit them to update the target workbook name for each day, E.g. Feb20.xls, Feb21.xls, Feb22.xls.
Is there some way I can set up "reference text" cell values in MY workbook, containing the Drive and Path to the external workbooks, and use them? I've tried putting values such as:
C:\FEBHF[22.XLS]
HOTELFLASH'
!H16
in cells, and then building a formula like =+A3+A4+A5+A6, but my result is only the LITERAL C:\FEBHF\[22.XL]HOTELFLASH'!H16"
I've tried concatenating the equal sign in front as well, but that still doesn't work.
I need to return the ACTUAL value represented by the EXTERNAL REFERENCE that I've built. I checked out the INDIRECT function, but that returns a "#REF" error.
What am I missing? Can what I envision even be done?
Thanks much in advance.
Jim
Me? Ambivalent? Well, yes and no....
Another free Access forum:
More Access stuff at