Ok, I have spent the better part of 5 hours googling everywhere and I can't seem to find an answer to this. I am not new to excel but I am new to linking between workbooks and anything above basic formulas. I have Workbook A that I am linking cells to in Workbook B which is being used as a Display for tracking information in workbook A on a TV Screen in an office. So when the cell is updated in Workbook A it updates in Workbook B. I used the copy and paste link function and it worked just fine. I update the cell in Workbook A and the associated cell in Workbook B updates just like I want.
Here is where the problem comes in. The link is not locked and Workbook A has to be saved as a backup with the name changed to have the date and time in it about 20 times a day. So the link will have the reference for the working version of Workbook A (which always stays in the same file location) but when you "Save As" and change the name to the "Date Time Workbook A" The source name in workbook B's link automatically changes to "Date Time Workbook A". Then if you close it and Opened the Original working copy of Workbook A nothing update because the links are now all looking at "Date Time Workbook A".
I know a work around it is "Save As" "Date Workbook A" then re "Save As" original "Workbook A". If it were just me that would be easy and I would do that but there are dozen of people that are going to be changing numbers in the working version of "Workbook A" then saving date and time stamped copies that trying to teach everyone this and getting them all to do it will be like herding cats.
So what I need is a way of locking the link for "Workbook A" in "Workbook B" so no matter what happens to "Workbook A" "Workbook B" will always look for the original linked filename.
Please help I am ripping my hair out over this. I am sick of getting called and told "The Status Board isn't updating again".
What I am thinking is having a VBA code running int he background automatically that takes any file link path containing words from the saved backup file and replaces it with the original file link path.
For Example
If the working copy link is "C:\Users\Public\Status\Widget Status"
And the file backups are saved as "C:\Users\Public\Status\BackUps\20170101 Widget Status 0930AM" (This is what it keeps changing it to automatically)
I need a VBA code that will If the link path includes "Widget Status" ("C:\Users\Public\Status\BackUps\20170101 Widget Status 0930AM" for example) then replaces it with the original "C:\Users\Public\Status\Widget Status". So no mater what the link path changes to if it contains key words it still looks at the original file.
I would need it to be constantly running it in the background as the file path is automatically updated by by excel when the original file path is changed it would change it back to the original.
Is this possible?
Thanks,
The Dude
Here is where the problem comes in. The link is not locked and Workbook A has to be saved as a backup with the name changed to have the date and time in it about 20 times a day. So the link will have the reference for the working version of Workbook A (which always stays in the same file location) but when you "Save As" and change the name to the "Date Time Workbook A" The source name in workbook B's link automatically changes to "Date Time Workbook A". Then if you close it and Opened the Original working copy of Workbook A nothing update because the links are now all looking at "Date Time Workbook A".
I know a work around it is "Save As" "Date Workbook A" then re "Save As" original "Workbook A". If it were just me that would be easy and I would do that but there are dozen of people that are going to be changing numbers in the working version of "Workbook A" then saving date and time stamped copies that trying to teach everyone this and getting them all to do it will be like herding cats.
Please help I am ripping my hair out over this. I am sick of getting called and told "The Status Board isn't updating again".
What I am thinking is having a VBA code running int he background automatically that takes any file link path containing words from the saved backup file and replaces it with the original file link path.
For Example
If the working copy link is "C:\Users\Public\Status\Widget Status"
And the file backups are saved as "C:\Users\Public\Status\BackUps\20170101 Widget Status 0930AM" (This is what it keeps changing it to automatically)
I need a VBA code that will If the link path includes "Widget Status" ("C:\Users\Public\Status\BackUps\20170101 Widget Status 0930AM" for example) then replaces it with the original "C:\Users\Public\Status\Widget Status". So no mater what the link path changes to if it contains key words it still looks at the original file.
I would need it to be constantly running it in the background as the file path is automatically updated by by excel when the original file path is changed it would change it back to the original.
Is this possible?
Thanks,
The Dude
Last edited by a moderator: