+ Reply to Thread
Results 1 to 10 of 10

workbook only updates links when i open it

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    toronto
    MS-Off Ver
    Excel 2010
    Posts
    103

    workbook only updates links when i open it

    i have file named "repo link," (XLS,, old format) which has links to workbook called "repo template" (XLSM, 2010).

    essentially, the "repo link" will only update the values when I open it (the source, the repo template, file does NOT even have opened for the repo link file to update...this is not the case where the file won't update unless the source file is open at the same time).

    this is causing an issue because i have another file, called "capital," which links to the "repo link" file. if the repo link file doesn't get updated, that means that the capital file won't get updated as well.

    currently the workaround is in the "capital" file, i have a macro that opens the "repo link" file, save then close, then the capital numbers are updated based on the latest repo link files. again, this solves the issue because the links in the "repo link" file get updated once the file gets opened and saved.

    (i know, i know...this is retarded...because it should ust be "capital" linked to "repo tempalte" instead of "capital" linked to "repo link" linked to "repo template.")

    tl;dr, why does the repo link file only updated when I open it?

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: workbook only updates links when i open it

    All links (be it formula data connection etc) only can evaluate when the workbook opens. Hence, the issue.
    There's no way to force evaluation on closed workbook.

    AFAIK, there are no workaround for this, workbook that serves as intermediate step must be opened, before final workbook can refresh with current data.
    Though PowerBI desktop does work through intermediary Excel to refresh data from source... this isn't available for Excel version of PowerQuery/Get & Transform.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    toronto
    MS-Off Ver
    Excel 2010
    Posts
    103

    Re: workbook only updates links when i open it

    i see your point, but this started only happening when I re-designed the "repo template" which was previously XLS (probably using Excel 97) and then now it's XLSM (now Excel 2010). ever since that change, this issue started happening.
    Last edited by AliGW; 08-17-2019 at 01:33 AM. Reason: Please don't quote unnecessarily!

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: workbook only updates links when i open it

    Hmm? That's odd, what type of connection do you use?

    It may be that since, xls doesn't use Open XML for file structure, it behaved differently. But then, I'm only familiar with Excel 2010 and up.

  5. #5
    Forum Contributor
    Join Date
    02-06-2013
    Location
    toronto
    MS-Off Ver
    Excel 2010
    Posts
    103

    Re: workbook only updates links when i open it

    yah, it was driving me crazy...i jsut wanted to know why....eventually i convinced my team that the logistics was nonsensical and to just make the "capital" file link directly to the "repo template" file...now I just go to "data" --> "edit links" --> updates values and so it's all good now.
    Last edited by AliGW; 08-17-2019 at 01:34 AM. Reason: Please don't quote unnecessarily!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: workbook only updates links when i open it

    You have 3 files...A linked to B linked to C

    In order for A to update with the latest data in B, B needs to be updated (and saved) with the data from C, otherwise, B will still contain the old/un-updated data. There is no work around for this, other than to open B, let it update (automatically), save then close.

    Think about it - B wont just know, in it's closed state, that C was updated. It needs to open 1st, then look into C for any updates. If you then close without saving, B will still only contain old data and A will link to the same old data.

    This has nothing to do with file types, or anything like that, it is just the way it works. B cannot "see" anything unless it is open, and unless it is saved with the new data (after being opened), it will still show old data

    I hope that made sense?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Contributor
    Join Date
    02-06-2013
    Location
    toronto
    MS-Off Ver
    Excel 2010
    Posts
    103
    ya I see your point ...just like what the other guy said


    yet it was completely working when everything was XLS (ie before I redesigned the repo template file ...in your case...file "c")

    I googled this issue and ran into a couple of links that mention version of excel use may cause an issue
    Last edited by AliGW; 08-17-2019 at 01:34 AM. Reason: Please don't quote unnecessarily!

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: workbook only updates links when i open it

    I have been using excel for quite a few years now, and I know of no versions where this would work without opening the middle file to update it.

    Again, thinking about the logic behind this...
    - C gets updated and saved.
    - B wont know about the updates unless it gets opened.
    - A still shows values from "old" B until B gets opened.
    - B gets closed without saving the changes from the links to C
    - A will still show the "old" values from B, because B no longer contains the updates, because B was not saved.

  9. #9
    Forum Contributor
    Join Date
    02-06-2013
    Location
    toronto
    MS-Off Ver
    Excel 2010
    Posts
    103
    don't get me wrong man ..I totally see what you're saying but it was DEFINITELY working before I redesigned "C." (ie the source file).

    in other words...before the design ...once C got updated...so did B automatically...and thus A did too

    anyway ...the logistics as I said were
    totally redundant so nonow A directly links to C
    Last edited by AliGW; 08-17-2019 at 01:34 AM. Reason: Please don't quote unnecessarily!

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,617

    Re: workbook only updates links when i open it

    Administrative Note:

    Please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!

    For normal conversational replies, try using the QUICK REPLY box below or the REPLY button instead of REPLY WITH QUOTE.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] links to open closed workbook
    By kriminaal in forum Excel General
    Replies: 1
    Last Post: 07-09-2016, 09:52 AM
  2. workbook.refreshall leaving links open
    By yarnseeker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2016, 02:19 PM
  3. [SOLVED] Workbook links causing linked workbook to open, but remain hidden
    By Rob T in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2014, 06:24 AM
  4. Excel links only updates when source workbook is open
    By excellearner121 in forum Excel General
    Replies: 1
    Last Post: 03-24-2014, 02:59 AM
  5. Prevent updating links on workbook open in VBA
    By hvkelley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2013, 07:34 AM
  6. Don't update links on workbook open
    By dylanemcgregor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-14-2009, 07:32 PM
  7. Replies: 3
    Last Post: 06-03-2005, 10:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1