+ Reply to Thread
Results 1 to 7 of 7

Getting excel to update links without opening the file..

  1. #1
    Registered User
    Join Date
    02-05-2009
    Location
    Belfast, Northern Ireland
    MS-Off Ver
    Excel 2003
    Posts
    59

    Getting excel to update links without opening the file..

    Does anybody know if there is a way in which I can get excel to update my links in a spreadsheet without me having to open the file myself? i.e set it to update the links at certain time intervals or on a certain day? or am i simply asking too much of excel!

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Getting excel to update links without opening the file..

    Excuse my simplicity... why do you need the links up to date if you don't open the file?

  3. #3
    Registered User
    Join Date
    02-05-2009
    Location
    Belfast, Northern Ireland
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Getting excel to update links without opening the file..

    Because I have about 10 workbooks, all linked to various other workbooks, i then have a totals workbook which is in turn linked to these to summarise them. Instead of opening each of the 10 to update them it would be easier and quicker if there was a way in which they updated themselves.

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Getting excel to update links without opening the file..

    So the workbooks would need to calculate based on their updates too?

    I think you may need to open them for this, you can shell a hidden instance of Excel so it appears background, but I think you need the app to run for the formulae to update.

    I may be wrong...

  5. #5
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Getting excel to update links without opening the file..

    Put a BAT file with workbook drive:/path/name in your Windows Scheduled events to do it. It's Open event would open all the others, update the links and then close each. Lastly, it would do a ThisWorkbook.close.

    Disable macros when you open it by security mode if you need to edit it again.

  6. #6
    Forum Contributor
    Join Date
    11-09-2007
    Location
    USA
    MS-Off Ver
    2003
    Posts
    141

    Re: Getting excel to update links without opening the file..

    So let me see if I understand...
    You are going to have a "main" workbook open. It needs to update 10 other sheets that are closed? I just recently used some code in my workbook that links to a closed workbook. I had some help here in the process but perhaps you could use it as well.

  7. #7
    Registered User
    Join Date
    02-05-2009
    Location
    Belfast, Northern Ireland
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Getting excel to update links without opening the file..

    Sorry everyone, wasnt quite clear enough on that! Each week I will open the 'Totals' file and update that myself, this file is linked to my 10 raw data workbooks (lets call these Group A) which are in turn linked to other raw data workbooks (call these Group B)...

    'Group A' need to automatically update themselves from 'Group B'. Then with these all up do date I can go and manually open the 'Totals' workbook and update those links to 'Group A' manually.

    If that makes sense?...a bit long winded, i know!

    Thanks.

+ 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