I found a very clumsy workaround that does work, but there has to be a better way.
Where the cell A2 in calculation has the following formula in place.
This returns the part of the string after the last '\'. Which in this instance is the file name. By inputting this into the cell when the referenced workbook is open, it automatically is converted into the full reference when the workbook is closed at the end of the code.
For example, if this string is input into A1. C:\Users\Alkuan\Documents\Example.xlsm
A2 returns, Example.xlsm
As i said, very clumsy and there must be a better way to achieve this.
Bookmarks