+ Reply to Thread
Results 1 to 14 of 14

Connected sheets not updating

Hybrid View

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    Cambridgeshire
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Connected sheets not updating

    Hello, Richard.

    I have corrected that line to what you had said and I am not getting any errors! Thank you. The only problem I have now is that the log won't update until I save the workbook. So it does seem to be reading and updating the information from the Accom. Log, it just isn't showing up until the save button is clicked. Would an automatic save macro fix this, do you think? If so, how can I include this into the lines of code I already have.

    I've decreased the amount of time for the autosave function to see if that would help, but it doesn't. It still will only update when I have manually clicked the save button.

    Accom - Collective Data 1.xlsm

    Sub UpdateFromLog()
        Application.DisplayAlerts = False
        If Range("H2") = "Y" Then End
        Workbooks.Open Filename:="T:\O\Op Info\NICCI HARROW\ACCOM SUPPORT\NEW ACCOM LOG 2014.xlsx", Notify:=False
        ActiveWindow.Close
        Call OnTimeMacro
        Range("H2") = "N"
    End Sub
    
    
    Sub OnTimeMacro()
        Application.OnTime Now + TimeValue("00:" & CStr(Range("H1")) & ":00"), "UpdateFromLog"
    End Sub
    
    
    Sub StopUpdate()
        Range("H2") = "Y"
    End Sub
    Kristian
    Kristian

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Connected sheets not updating

    Hi,

    Are you sure your system is set to Automatic Recalculation? Check under the Calculation Options on the ribbon.
    If that's OK then go to the Excel Options Advanced (from the Office Button), scan down to the 'When calculating this workbook' option and make sure it's ticked. See attached picture

    Failing that then I don't understand why the links wouldn't update so the pragmatic approach would be to just add an
    ActiveWorkbook.Save
    instruction after the
    ActiveWindow.Close
    instruction.

    But I'm sure you'll find one of the first two will fix it
    Attached Images Attached Images
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. Updating across sheets
    By Spicekiwi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2013, 07:32 PM
  2. Automatically inserting new rows in sheets or updating the sheets
    By AlexOram in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-03-2012, 07:35 AM
  3. Updating Multiple Sheets
    By Flintstone9999 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-12-2007, 10:34 PM
  4. Auto updating sheets
    By charmedcharmer in forum Excel General
    Replies: 1
    Last Post: 04-03-2007, 10:24 PM
  5. Just Updating Sheets
    By Stuie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2007, 10:38 AM

Tags for this Thread

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