Cell Reference In One Workbook to another Workbook With The Same Filename

SteveP29

New Member
Joined
Jul 1, 2007
Messages
34
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Afternoon all,

My company tracks office petty cash spend via Excel.

Each year, each location within the company is given a link in Sharepoint to their template (we call it a template because its blank when they receive the link, it isn't an actual .xltm or .xlt file) for the year.
The file structure in Sharepoint is:

Petty Cash Templates- 2019-20- Office A
Office B
Office C etc etc
2020-21- Office A
Office B
Office C
2021-22- Office A
Office B
Office C

There are 12 worksheets within each workbook (one for each month of the year)
The Opening balance for months 2- 12 are determined via a cell reference formula pointing to the closing balance cell in the previous month's worksheet.
During the year, our staff input their petty cash spend in the appropriate month.

As it currently stands, at the beginning of each new financial year, our staff have to note the closing balance figure, close that template down and open the new financial year template to populate their opening balance figure on month 1

I am unable to add a cell reference to the closing balance for month 12 of one year in the opening balance cell in month 1 of the new year (so that staff members don't need to) because you can't have 2 workbooks with the same name open concurrently
(as you can see from the file structure above, each template for each office is given the same name every year for consistency)

Is there a way to get round this?
Thanks.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
This has raised it's head again, has anyone any ideas?
Thanks.
 
Upvote 0

Forum statistics

Threads
1,223,604
Messages
6,173,320
Members
452,510
Latest member
RCan29

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top