First off I apologize if this is in the wrong place - there isn't a section for Excel and I figured that Excel/Access VBA are similar enough for me to get away with it. Someone please move it if they think there's a more appropriate place for it.
To the problem.
A friend has asked me if I know of a way to keep external links unbroken - even if the linked workbook is moved or renamed. I don't think there's an easy way.
It's not possible for him to put all the worksheets into one workbook (I haven't seen the setup, I'm taking his word for it).
I thought that maybe he could put a hidden sheet in each linked file with a specific code in - something that would uniquely identify that book - and have a code in the main workbook to run on start-up that could check for broken links and if there are any, search for the unique codes in all excel files then auto-update the links when it's found.
Does that sound feasible, or does anyone else have a solution?
I was so adamant on Googling it that I forgot to eat my dinner (I'm at work)
If it does sound feasible, does anyone have any pointers on where I can start with the code? I've found plenty of looking for text in cells, but nothing about looking for text in specific places (or hidden sheets) in external files.
Thanks
To the problem.
A friend has asked me if I know of a way to keep external links unbroken - even if the linked workbook is moved or renamed. I don't think there's an easy way.
It's not possible for him to put all the worksheets into one workbook (I haven't seen the setup, I'm taking his word for it).
I thought that maybe he could put a hidden sheet in each linked file with a specific code in - something that would uniquely identify that book - and have a code in the main workbook to run on start-up that could check for broken links and if there are any, search for the unique codes in all excel files then auto-update the links when it's found.
Does that sound feasible, or does anyone else have a solution?
I was so adamant on Googling it that I forgot to eat my dinner (I'm at work)
If it does sound feasible, does anyone have any pointers on where I can start with the code? I've found plenty of looking for text in cells, but nothing about looking for text in specific places (or hidden sheets) in external files.
Thanks
Comment