+ Reply to Thread
Results 1 to 19 of 19

How to update master workbook with links to other workbooks

  1. #1
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    How to update master workbook with links to other workbooks

    I have a workbook that links out to numerous other workbooks for current data. After one of the supporting workbooks gets up dated, I return to the master workbook. Here, I need to see the updated results. The only way that I can find a way of updating the master is to close and save it and then re-open.

    Is there a way of updating the master workbook using a macro?
    Last edited by Launchnet; 12-14-2009 at 01:10 PM. Reason: RoyUk Asked For Better Title
    Thanks for helping . . .
    Matt @ Launchnet

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    re: update links from 1 workbook to another

    The updating should be instantaneous. If you go to Tools -> Options under the calculation tab, is the calculation set to automatic? You can recalc with F9. Or, if that doesn't work, go to Edit -> Edit Links. You can update the values manually on the right with Update Values, and make sure near the bottom the Update: is set to Automatic.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    re: update links from 1 workbook to another

    Thanks Dave
    I tried you suggestions and neither worked. All the setting are correct.

    That's why I posted this in programming.

    Still open for suggesstions and ideas.

  4. #4
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    re: update links from 1 workbook to another

    Still need help please.

  5. #5
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    re: update links from 1 workbook to another

    Hi Launchnet,

    See if the following is what you need - just change the paths and file names to suit:

    Please Login or Register  to view this content.
    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    re: update links from 1 workbook to another

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    This applies to using unnecessary wording like "How to" which make searches less effective. I will remove them this time only!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  7. #7
    Registered User
    Join Date
    11-18-2009
    Location
    Qatar
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: update links from 1 workbook to another

    Can I hijack this thread? Seems to be having the same problem with updating.

  8. #8
    Registered User
    Join Date
    11-18-2009
    Location
    Qatar
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: update links from 1 workbook to another

    Can anyone available please help? I have this file containing around 100 worksheets. Let's say the first sheet is the summary with an entry cell for the month. All the sheets are linked here.

    What I simply want to happen is that all the sheets should get updated if I change it to another month. It does change, but sometimes it isn't. I have to relink again or retype the cell link or formula. Or I have to move some sheet beside another sheet (e.g.drag the sheet tab beside maybe near the main summary) and the cell will recalculate.

    This goes as well for the graph's chart title.

    Is it my file size too large why it's not automatically updating? Already coming around 13MB. Note that the settings under Tools/Options/Calculation tab is set as Automatic.

    Thanks for the help in advance!

  9. #9
    Registered User
    Join Date
    11-18-2009
    Location
    Qatar
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: update links from 1 workbook to another

    Launchnet. My apologies.

  10. #10
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Re: How to update master workbook with links to other workbooks

    Hi Trebor76 . . .
    Your input gave me the lead to solving the updating of links.

    Here is the code that I used.
    Please Login or Register  to view this content.
    With a button on the workbook I can update at anytime.

  11. #11
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Re: How to update master workbook with links to other workbooks

    Now that I look at this deeper, is there a way that I can update the master workbook when I re-display the master workbook. In my case, I have a number of workbooks open, including the Master, and after I have updated and saved the changes to any linked workbook, I display the Master workbook.

    It would be like using the "On Open" routine. I can't find a routine for when the master workbook is re-activated.

  12. #12
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: How to update master workbook with links to other workbooks

    hi Matt
    Quote Originally Posted by Launchnet View Post
    ...It would be like using the "On Open" routine. I can't find a routine for when the master workbook is re-activated.
    Open the VBE,
    double click on the Thisworkbook module,
    then at the top of the Code window, change the left dropdown to "Workbook",
    look at all the options on the right dropdown for the possible events (eg "Activate").
    After choosing one of the events, an "empty" macro will be created in the code window.

    The [F9] or [ctrl + shift + alt + F9] should force a recalculation, but as someone mentioned this should be happening automatically. Does the Status bar (bottom left of the screen) say "Calculate"?

    It's been a while since I've spotted your threads & I've forgotten which version of Excel you use. Are you able to update your profile to state which version of Excel you are using?

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  13. #13
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Re: How to update master workbook with links to other workbooks

    Hi Broro183 . . .

    Excel Version is 2002 SP3
    It does not show calculate on the status bar.

    I want to point out, that I am looking for this to happen automatically if at all possible. It is going to be used on many different computers, so I don't want to change anything that would not function on another users computer or require them to change settings.

    Currently the button I have added to the Master workbook works fine. It just would be nice if it would function automatically.

  14. #14
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: How to update master workbook with links to other workbooks

    Hi Launchnet,

    Try turning off the "Do You Want to Update External Links" prompt on the Master workbook so it just does it by default via the following four steps:

    1. From the Tools menu select Options
    2. If it isn't already selected, click (select) the Edit tab from the Options dialog
    3. Untick the Ask to update automatic links check box
    4. Click OK

    HTH

    Robert

  15. #15
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Re: How to update master workbook with links to other workbooks

    Trebor76 . . .

    I just checked and it is already unchecked.

  16. #16
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: How to update master workbook with links to other workbooks

    The only other thing I can suggest then is to run the Master workbook code on a timer basis, say every minute. Depending on the number of tabs and links though this may not be ideal.

  17. #17
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Re: How to update master workbook with links to other workbooks

    Thanks for all the efforts and head scratching . . . I think all of the scratching that I do is why I am bald.

    So far, the button is still much better, because it is very easy.

    Automated when the screen becomes the top most screen would be the best, but I know that's far beyond me.

  18. #18
    Registered User
    Join Date
    01-09-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: How to update master workbook with links to other workbooks

    HI,

    I have two excel workbook, workbook2 was link to workbook1 and the link update only changes when you open workbook1.
    Please help how to do the real time link update with workbook1 open everytime and workbook2 open in different computer.

    HTH

    Chris

  19. #19
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How to update master workbook with links to other workbooks

    Hi Chris,

    Welcome to the Forum.

    It will be good if you start a new thread with your issue. You are violating one of the forum rules which states that you cannot post your thread in the thread of another. Besides, this thread is almost 2 yrs old.

    Start a new thread and you will get help much faster. You can provide the link to this thread in your post, so that people can relate to it and reply to you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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