+ Reply to Thread
Results 1 to 3 of 3

Autorecover interupts macro

  1. #1
    Registered User
    Join Date
    06-06-2014
    Location
    BC, Canada
    MS-Off Ver
    Office 2013
    Posts
    2

    Autorecover interupts macro

    I have two workbooks (a and b), one is referenced to the other (in VB Tools ->references). I have disabled the autorecover for both of the worksheets (in the options -> save.)

    However, when i run my macro in (a), the autosave appears halfway through (to save (b)) and when my macro carries on afterwards it is out of sync. I have tried adding

    Application.AutoRecover.Enabled = False

    at the beginning of my code but it still happens.

    Not sure what to check next.

    Jo
    Last edited by Jo71; 06-19-2014 at 12:17 PM. Reason: resolved

  2. #2
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Autorecover interupts macro

    Just a shot in the dark but have you tried the Application.EnableEvents = False at the beginning of your code? It pretty much is used for when you have something that runs when a cell is changed and makes it so when the code changes a cell it is not recalled. It may stop whatever is prompting the auto recover. Just an idea.
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

  3. #3
    Registered User
    Join Date
    06-06-2014
    Location
    BC, Canada
    MS-Off Ver
    Office 2013
    Posts
    2

    [SOLVED] Autorecover interupts macro

    This appears to have worked - Thanks Hawkeye16

+ 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. AutoRecover not working?
    By Willis in forum Excel General
    Replies: 8
    Last Post: 02-14-2013, 09:39 AM
  2. Excel 2007 : AutoRecover Error
    By keems in forum Excel General
    Replies: 0
    Last Post: 04-14-2011, 12:41 PM
  3. [SOLVED] AutoRecover has been disabled
    By LMcK in forum Excel General
    Replies: 2
    Last Post: 08-14-2006, 04:50 PM
  4. beforeSave autorecover
    By Fr. Robert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-13-2006, 11:30 AM
  5. AutoRecover
    By diesel in forum Excel General
    Replies: 0
    Last Post: 05-12-2005, 08:06 PM

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