+ Reply to Thread
Results 1 to 10 of 10

Autosave every 15 minutes

  1. #1
    Registered User
    Join Date
    05-26-2009
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    99

    Autosave every 15 minutes

    I have this code, and it's not working:

    Please Login or Register  to view this content.
    Can someone help me setup an autosave vb in Excel 2007 - I want a SAVE not a SAVE AS.

    thanks
    Last edited by mania112; 06-09-2009 at 06:40 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Autosave every 15 minutes

    What's wrong with the built-in autosave?

    Your code has an extra End Sub

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    05-26-2009
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Autosave every 15 minutes

    the built in autosave in 2007 is autorecovery? and doesnt work the same way - i thought?

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Autosave every 15 minutes

    Yes, my bad. I should have read the description more closely.

    Does removing the End sub from your routine help.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Autosave every 15 minutes

    Have you tried Jan Karel's Autosave addin?
    http://www.jkp-ads.com/Download.asp

  6. #6
    Registered User
    Join Date
    05-26-2009
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Autosave every 15 minutes

    yeah it seems to be working ok, guess i'll find out in 15 minutes!

    does this remove the option to save when i close excel?

    this code:

    Please Login or Register  to view this content.
    i changed Time from Now, is there a difference here?

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Autosave every 15 minutes

    You can unset the Saved flag after saving.

    Please Login or Register  to view this content.
    Time does not contain any date information so not sure what would happen at 23:45 or later. Whether the TIME+15 will automatically work.
    Perhaps not as this in the immediate window would suggest the next schedule is way in the past.

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    05-26-2009
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Autosave every 15 minutes

    so you think a 'now' + 15 would be the prefered method

    If i'm only accessing this file between 830 and 1600 i suppose it wouldnt matter about autosaving into a new day?

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Autosave every 15 minutes

    Be safe and use NOW

  10. #10
    Registered User
    Join Date
    05-26-2009
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Autosave every 15 minutes

    roger that, thanks for the help

+ 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