ecawilkinson
New Member
Hi,
I have a situation where I have main workbook that reads from workbooks with a different year number in the name. I just cannot seem to get the syntax correct.
What I need is a cell with code something like ="V:\" & Year_No & "\[16F_" & Year_No & "_Summary.xlsx]Final_Page!$A$3. I know this syntax is incorrect and the hardcoded version would be ='V:\CP4\[16F_CP4_Summary.xlsx]Final_Page'!$A3, with CP4 being the company year number. I just need to know the correct syntax that would allow me to insert the named range Year_No into the formula to avoid hard-coding the reference.
Thanks,
Chris
I have a situation where I have main workbook that reads from workbooks with a different year number in the name. I just cannot seem to get the syntax correct.
What I need is a cell with code something like ="V:\" & Year_No & "\[16F_" & Year_No & "_Summary.xlsx]Final_Page!$A$3. I know this syntax is incorrect and the hardcoded version would be ='V:\CP4\[16F_CP4_Summary.xlsx]Final_Page'!$A3, with CP4 being the company year number. I just need to know the correct syntax that would allow me to insert the named range Year_No into the formula to avoid hard-coding the reference.
Thanks,
Chris