+ Reply to Thread
Results 1 to 6 of 6

automatic update of external links

  1. #1
    Forum Contributor
    Join Date
    03-14-2005
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    329

    automatic update of external links

    Hello

    I have an excel workbook that have several external links to other workbooks.
    My idea is to make the external links update every five minute or so and I don't know how I should make that work.
    Does anyone have an idea how to manage this?

    /Anders

  2. #2
    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,926

    Re: automatic update of external links

    So you have a destination file fed from a few source files?

    If the source files are open, the destination file should auto update with any changes to the source files (providing calcs are set to auto)

    If the source files are closed, they cannot be changed anyway, so the destination file should contain their latest info anyway,

    If this is not what's happening on your side, check that calcs are set to auto, otherwise explain what you are doing, what you expect to happen, and what is actually happening please
    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

  3. #3
    Forum Contributor
    Join Date
    03-14-2005
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    329

    Re: automatic update of external links

    My workbook is compiling data from other closed workbooks. When opening the compiling workbook excel asks if it should update data or not. When pressing yes it updates the data. I guess it maybe open and closes the documents where the data is, not sure.
    So what I'd like to do is to automatically do this with a certain frequency. this to allways have the latest data if someone has opened the source workbooks and done any editing to the data.
    Is this explaining better?

  4. #4
    Forum Contributor
    Join Date
    11-05-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    155

    Re: automatic update of external links

    HI a94andwi,

    I have the below macro, you will need to enter the file location in there. (Assuming all of the workbooks are within the same folder.) I have the VBA linked to a button and it works through 280 spreadsheets

    If it asks you to update each workbook when it is open, you may need to add yourself as an author on the workbooks by going into properties (There may be a way to do it in VBA but I am still a novice)

    Please Login or Register  to view this content.
    Hope that helps

  5. #5
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,034

    Re: automatic update of external links

    Data > Edit Links > Startup Prompt > Don’t display the alert and update links

  6. #6
    Forum Contributor
    Join Date
    11-05-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    155

    Re: automatic update of external links

    Josephteh, that didn't work for me because I didn't create the spreadsheets.

    When I looked into it, it advised me I had to be the author of the spreadsheet for it to work. As soon as I changed it, it worked without the prompt. (Might be because my original workbooks are from an external source.)

+ 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. Update external links by time
    By a94andwi in forum Excel General
    Replies: 0
    Last Post: 02-02-2021, 05:19 AM
  2. [SOLVED] Automatically Update External Links
    By Keibri in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-21-2018, 02:38 PM
  3. Automatic External Link Update
    By erikw48 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2015, 11:18 AM
  4. [SOLVED] Update External Links w-i-t-h-o-u-t VB
    By jasonineverett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-26-2012, 12:13 PM
  5. Replies: 2
    Last Post: 10-23-2010, 08:36 AM
  6. Update External Links
    By jeffcravener in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2006, 12:10 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