+ Reply to Thread
Results 1 to 2 of 2

Auto Save Workbook

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-05-2010
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    747

    Auto Save Workbook

    Is there a code that can autosave a workbook lets say every 10 minutes? I know there is the auto recover function but I need something that actually saves the document.

  2. #2
    Registered User
    Join Date
    05-25-2010
    Location
    Trinidad
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Auto Save Workbook

    Try this

    Option Explicit
    Public dtime As Date
    Public Sub SaveMacro()
    dtime = Now + TimeValue("00:10:00")
    ThisWorkbook.Save
    Application.OnTime dtime, "Savemacro"
    
    End Sub
    Regards,
    Avinash
    Last edited by Avinash Beepath; 12-10-2010 at 06:47 PM.

+ 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