+ Reply to Thread
Results 1 to 9 of 9

Update workbook links without opening other workbook

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Update workbook links without opening other workbook

    Hello everyone,

    I have two workbooks. One is solely used for storing raw data (much like the backend of a db). The other workbook is a dashboard. It's linked to the first workbook. I have several issues:

    The dashboard won't update unless source data workbook is open. My users need to be able to open and close the dashboard at will. Asking them to open the source file is not an option because it's a large file and takes a long time to open.

    I know there are best practices when doing something like this and I was hoping someone could share with me.

    Thank you,

    -Justair

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Update workbook links without opening other workbook

    Hi,
    you find a lot of solutions for copying or sending data to an external file without opening/closing that file if you are looking for something like that.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Update workbook links without opening other workbook

    Taken from https://support.office.com
    Manually update only some of the links to other workbooks

    1. Close all workbooks.
    2. Open the workbook that contains the links. (This is the destination file and not the source file)
    3. On the Data tab, in the Manage Connections group, click Edit Links.
    4. In the Source list, click the linked object that you want to update. ...
    5. Click Update Values.
    Last edited by newdoverman; 01-22-2017 at 12:31 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Update workbook links without opening other workbook

    Hi John,

    Can you share some of these solutions?

    Thank you.

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Update workbook links without opening other workbook

    the solution provided by newdoverman seems to be better but it's your choice...
    see if this one helps you! change the file name/path/range to your suits.
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Update workbook links without opening other workbook

    Hi John,

    Yes newdoverman did provide a good solution for only updating the data when I manually want to. This is perfect since the data is only updated once a week on Monday morning and when I do update the destination file it takes about five minutes. The issue that still remains is that some of the formulas are returning a #VALUE if the source file is not open.

    Work arounds or solutions?

    Thank you!

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Update workbook links without opening other workbook

    Do a little investigation of the source file.
    Go to the cell(s) that are resulting in errors and examine them for "oddities" in the values of those cells. It will likely be easier to correct mistakes in the source data than to try and have code written to take care of all "odd" possibilities.

  8. #8
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Update workbook links without opening other workbook

    Thank you. I believe I fixed the issue.

    Do you know if Excel updates links when a workbook is saved? I'd prefer it not if it does. That way the workbook wont take 5 minutes to save every time someone does something in it.

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Update workbook links without opening other workbook

    I have only encountered a prompt to update links on opening.

+ 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. Replies: 1
    Last Post: 07-19-2013, 12:58 PM
  2. [SOLVED] Update external links without opening workbook
    By elliotencore in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2013, 09:45 AM
  3. Replies: 2
    Last Post: 06-21-2013, 08:59 PM
  4. Prevent update of links, when opening a workbook
    By AdamParker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2010, 12:39 PM
  5. Update links automatically when opening another workbook
    By duckboy1981 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2008, 10:28 AM
  6. Replies: 0
    Last Post: 11-15-2007, 03:40 AM
  7. Update LINKS when opening a workbook?
    By Dragon120 in forum Excel General
    Replies: 1
    Last Post: 04-02-2006, 08:50 PM

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