+ Reply to Thread
Results 1 to 3 of 3

Problem trying to self-update file

  1. #1
    Forum Contributor
    Join Date
    09-30-2009
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    274

    Exclamation Problem trying to self-update file

    Hi,

    trying to implement a self-updating excel file structure
    each file contains an ID of file type
    when opens, checks if a new version exists. If so, saves intself into a backup folder, opens template, saves on top of the original location.

    If I execute the macro, all works fine.
    However, this macro must run with the event "Workbook_Open" and for some reason, excel blocks the file??
    Anybody found this problem?
    any workaround?

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    09-30-2009
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    274

    Re: Problem trying to self-update file

    The same approach with a test file does work perfectly, it seems it has something to do with file size and the fact it's still opening and so.
    maybe it has to do with the fact it has lots of macros and a custom ribbon.
    Is there any way to wait for the workbook to be completely loaded before running themacro but still do it on start up or connected with start up?

  3. #3
    Forum Contributor
    Join Date
    09-30-2009
    Location
    Barcelona
    MS-Off Ver
    Excel 2010
    Posts
    274

    Re: Problem trying to self-update file

    FWIW apparently the solution is delaying the execution with Application.onTime
    this appears to solve the problem so far

+ 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. [SOLVED] VBA - Update button - Select xls file to update from
    By AussieJoe in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-16-2016, 01:32 AM
  2. Update Values problem and a Value Selection Problem----Please Help.
    By TrivialT in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2013, 02:43 PM
  3. Update cell links between 2 excel file without opening source file
    By ferry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-26-2012, 03:03 PM
  4. Update cell values in master file if changes were made in update file
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-10-2012, 03:03 PM
  5. Code Problem(open excel file update links)
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2011, 02:16 PM
  6. update problem puts file paths into formula
    By FRIEL in forum Excel General
    Replies: 1
    Last Post: 03-23-2009, 07:39 AM
  7. Excel 2003 - Update or Don't Update Links Problem
    By Jamie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2005, 10:05 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