I need to somehow reference a workbook name by a cell instead of typing in the workbook name to be referenced in the formula
I have created 9 workbooks each labeled a different week.
Each week has to reference the previous week(s) in a formula hosted in a cell. The formula, of course, works just fine.
However, the workbooks are currently called TemplateWeek1, TemplateWeek2, TemplateWeek3 etc.
Each teacher at my school will open TemplateWeek1 and type in their last name into a cell. When they do that, the workbook will automatically be saved their last name Week1. (MadsenWeek1). Same thing will happen for each workbook. (MadsenWeek2, MadsenWeek3 etc)
Now in TemplateWeek2 I have the following formula: =[TemplateWeek1.xls]A!$A$17
However, for MadsenWeek2 I need the formula to be =[MadsenWeek1.xls]A!$A$17
I don't want to have to go in and manually change each one to reflect the teacher's name after each teacher has saved their workbooks.
Therefore, I need to somehow reference the workbook by a cell reference. This is what I need, though I know this formula would not work. =['Set-up Page'!E6&"Week1".xls]A!$A$17
Where cell E6 on the Set-up Page contains the teacher's last name. Though the other problem is the teacher workbooks wouldn't even be created at the time. I just have the Template workbooks created, and when I train all the teachers on the program, they will create their workbooks.
As of right now, I just plan to go and individually open each workbook after that training session, and change the word Template to his/her last name in the formula.
Just wondering if their is another way, so I don't have to manually do that after the training session.
I have created 9 workbooks each labeled a different week.
Each week has to reference the previous week(s) in a formula hosted in a cell. The formula, of course, works just fine.
However, the workbooks are currently called TemplateWeek1, TemplateWeek2, TemplateWeek3 etc.
Each teacher at my school will open TemplateWeek1 and type in their last name into a cell. When they do that, the workbook will automatically be saved their last name Week1. (MadsenWeek1). Same thing will happen for each workbook. (MadsenWeek2, MadsenWeek3 etc)
Now in TemplateWeek2 I have the following formula: =[TemplateWeek1.xls]A!$A$17
However, for MadsenWeek2 I need the formula to be =[MadsenWeek1.xls]A!$A$17
I don't want to have to go in and manually change each one to reflect the teacher's name after each teacher has saved their workbooks.
Therefore, I need to somehow reference the workbook by a cell reference. This is what I need, though I know this formula would not work. =['Set-up Page'!E6&"Week1".xls]A!$A$17
Where cell E6 on the Set-up Page contains the teacher's last name. Though the other problem is the teacher workbooks wouldn't even be created at the time. I just have the Template workbooks created, and when I train all the teachers on the program, they will create their workbooks.
As of right now, I just plan to go and individually open each workbook after that training session, and change the word Template to his/her last name in the formula.
Just wondering if their is another way, so I don't have to manually do that after the training session.