I have 2 Excel files named September and October. The September file contains values from which the October file refers/links to using the formula:
=+B2+'C:\\[September.xlsx]Sheet1'!A1
so cell B2
in October contains a value that is the sum of B2
and A1
which comes from the September file.
If I now create a November file, I would simply do a Save As on the October file and save the file as November.xlsx. However, this means that the November file is still referring to values September.xlsx. Is there any way of automatically updating the cells in November.xlsx to refer to October, either upon creation or opening of the November file?
i.e. so November's formula would automatically update to =+B2+'C:\[October.xlsx]Sheet1'!A1
.
Or making a Window form pop up when opening the file, asking the month it would like it to link to, the user would then enter in a month then all the cells in range would be updated.
Is anyone able to point me in the right direction?