Good evening all. When I have needed help on excel in the past I have always asked a friend who posts my problems up on here, and reports them back to me. Unfortunately he is away travelling at the moment, but I have taken the opportunity to join myself, and hope that your excellent assistance continues in his absense! Anyway enough brown nosing....
I realise this is probably a very simple bit of code... but I have so far been unsucessful in perfecting it. I have a very complex financial model with ~100 excel sheets and in total ~400 external links between the files. When I want to refresh the main presentation page of the model, (unless im missing something) I need to update the external links in all the sheets that feed into the next level up. A kind of imaginary pyramid of links updating.
The way it is being done at the moment is by manually opening each file, clicking on update external links, (waiting... and waiting).. and then closing it and starting on the next file. Because of the pyramid system of the model, you have to update them in a fairly specific order, i.e. level to level to get the data you need it. Yes, I know this is an awful system to have in place, which is what I've joined the company to sort out... currently takes in the region of 3 hours to do manually!!
In the mean time, I figured that if I could generate a macro to update open and update the external links in each file from an ordered list kept in a worksheet, then it can open the sheets up in the correct order, force the update of external links and then close them one by one. This may still be a lengthy process as the files are very large, but I'm thinking of perhaps leaving it running at the end of play on an evening, so we're fired up with current data the following morning. I've managed to make a macro that opens them all, which just crashes my machine (genious me!), but have had no luck in one that'll do it'll work through the list file by file, opening it, forcing the links to refresh, closing it, and then moving on to the next link.
Does anyone have some pointers on the code required? Your help as always would be much appreciated
Bookmarks