+ Reply to Thread
Results 1 to 5 of 5

Excel (with autosave 15') reopens after closing it

  1. #1
    Forum Contributor
    Join Date
    02-13-2017
    Location
    Belgium
    MS-Off Ver
    O365
    Posts
    107

    Excel (with autosave 15') reopens after closing it

    All,

    I have a document with an autosave on it, it saves every 15min.
    Now is the problem :
    When i close the excel file, it reopens and saves again. It remains open as well.

    Can somebody help me how to get out of the autosave loop when the document is closed?

    This is my autosave code :

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Excel (with autosave 15') reopens after closing it

    You need to cancel any active timers - otherwise Excel will reopen the workbook when the timer next fires. The timer is an Application event so is unaffected by the workbook closing.

    To cancel a timer, you call the OnTime event passing the exact time the timer is next due to fire and adding False to indicate the timer is to be cancelled when you are finished with the timer or the workbook is closed.. This means you have to store the time somewhere

  3. #3
    Forum Contributor
    Join Date
    02-13-2017
    Location
    Belgium
    MS-Off Ver
    O365
    Posts
    107

    Re: Excel (with autosave 15') reopens after closing it

    Thanx.

    But i'm not an excel expert...
    So can you tell me how do i practically do this?

  4. #4
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Excel (with autosave 15') reopens after closing it

    Timers are explained fully, and simply, here

  5. #5
    Forum Contributor
    Join Date
    02-13-2017
    Location
    Belgium
    MS-Off Ver
    O365
    Posts
    107

    Re: Excel (with autosave 15') reopens after closing it

    Thanx!
    Problem solved

+ 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. VBA Project not closing after closing Excel file
    By GOGGS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-29-2016, 10:26 AM
  2. VBA Code that Refreshes/Reopens Current Excel Workbook
    By faltaman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-06-2015, 12:35 PM
  3. Excel 2013 not closing after closing workbook
    By SBennett212 in forum Excel General
    Replies: 4
    Last Post: 04-04-2015, 11:07 AM
  4. [SOLVED] Userform reopens once after closing when activated via listbox
    By aic in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2014, 03:24 AM
  5. AutoSave - Excel 97
    By jfmcd11 in forum Excel General
    Replies: 0
    Last Post: 06-18-2008, 12:33 PM
  6. Opened Autosave but when closing workbook Autosave closes itself
    By Ken in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-29-2005, 01:05 PM
  7. Excel reopens workboog after closing it.
    By Fred Flintstone in forum Excel General
    Replies: 1
    Last Post: 10-21-2005, 10:05 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