How to recover unsaved Excel file or restore its previous version

Do you want to protect your workbooks from unexpected computer crashes or power failures? This article explains how to recover unsaved files and restore previous versions of your workbook in Excel 2010 - 365. You'll also learn different ways of file backup on your PC or in the cloud.

Just imagine that you have been working on a very important document in Excel for some hours, creating a very complicated graph, and then… oops! Excel crashed, the power went out or you accidentally closed a file without saving. That is frustrating, but don't be so cut up about it - you can easily recover your unsaved document.

What is the worst that could be? While working on a workbook you found out that you made a mistake about an hour ago, you already made a lot of changes since that time and undo is not an option. If you want to know how to retrieve an overwritten Excel file, go ahead and read this article.

Excel AutoSave and AutoRecover

Excel provides us with such good features as AutoSave and AutoRecover. If they are enabled, it won't be a problem for you to recover unsaved files and restore previous versions. But these two features are often misunderstood, so at first let's define what they mean.

Excel AutoSave is a tool that automatically saves a new document that you've just created, but haven't saved yet. It helps you not to lose important data in case of a computer crash or power failure.

Excel AutoRecover helps you retrieve unsaved files after an accidental closure or crash. It allows you to restore to the last saved version which displays in the Document Recovery pane when you start Excel next time.
Use the Document Recovery pane to restore to the last saved version of the document after an accidental closure

Note. The AutoRecover feature only works on Excel workbooks that have been saved at least once. If you never save a document before a computer crash, the Document Recovery pane won't show up in Excel.

Luckily, the options to auto save and auto recover files are turned on in Excel by default. If you are not sure, you can easily check them up.

How to configure the AutoSave (AutoRecover) settings in Excel:

  1. Go to the FILE tab and choose Options from the FILE menu
  2. Click Save on the left-hand pane of the Excel Options dialog.
  3. Make sure that both Save AutoRecover information every X minutes and Keep the last autosaved version if I close without saving are checked.
    Go to the Save tab in the Excel Options dialog to configure the AutoSave / AutoRecover settings
  4. Click OK.

    By default the AutoRecover feature is set to automatically save changes to your workbook every 10 minutes. You can shorten or lengthen this interval as you like. Here you can also change Excel AutoRecover file location and specify AutoRecover exceptions.

    Tip. If you want to be more secure in case of a crash or electricity failure, you should lower the time interval for saving information. The more frequently the document is saved, the more versions you have, the more chances to get all the changes back.

Now when Excel is configured to auto save and auto recover your documents, you will easily restore a file when something goes wrong. Further in this article you'll find out how to recover new files that you've just created and the ones that you've already saved.

How to recover unsaved Excel files

Suppose you are working on a new document in Excel and the program locks up unexpectedly. In a few seconds you realize that you didn't save the workbook. Don't panic and discover below how to recover an unsaved file.

  1. Go to FILE -> Open.
  2. Choose Recent Workbooks.
    Go to Open - > Recent Workbooks and scroll down the list to find the Recover Unsaved Workbooks button
  3. Scroll down and click on the Recover Unsaved Workbooks button at the bottom of the list.
    Click on the Recover Unsaved Workbooks button to open the folder with unsaved files

    Note. You can also go to FILE - > Info, open the Manage Workbooks drop-down and select Recover Unsaved Workbooks from the menu.
    Go to FILE - > Info and select Recover Unsaved Workbooks from the Manage Versions drop-down

  4. When the Open dialog box pops up, just select the necessary file and click Open.

    The document will open in Excel and the program will prompt you to save it. Click on the Save As button in the yellow bar above your worksheet and save the file to the desired location.
    Click on the Save As button in the yellow bar above the worksheet to save the recovered file

Recover overwritten Excel files

Excel 2010 and later makes it possible not only to restore the unsaved workbooks, but also to recover previous versions of your document. It is especially helpful when you make a mistake that you can't undo, or when you want to see how the document looked like a few minutes earlier. See below how to retrieve an overwritten Excel file:

Click on the FILE tab and choose Info on the left-hand pane. Next to the Manage Versions button you'll see all autosaved versions of your document.
Go to FILE -> Info to see a list of autosaved versions next to the Manage Versions button

Excel automatically saves versions of the workbook at specified intervals, but only if you've made changes to your spreadsheet between these intervals. The name of each version has a date, time and the "(autosave)" note. When you click any of them, it will open along with the most current version of your workbook so that you can compare them and see all the changes.

If the program closed incorrectly, the last autosaved file is labeled with the words (when I closed without saving).
The last autosaved version is labeled with the phrase 'when I closed without saving' if the program closed incorrectly

When you open this file in Excel, you'll get the message above your worksheet. Just click on the Restore button in the yellow bar to revert to the newer unsaved version of the workbook.
Click on the Restore button in the yellow bar to restore to a newer unsaved version

Note. Excel deletes all previously autosaved versions when you close the document. If you want to look at the previous version again, it is better to create a backup copy of your data.

How to save a backup copy of your workbook

Excel's Auto Backup is a very useful feature that can help you retrieve a previously saved version of your workbook. Saving a backup copy can protect your work if you accidentally save changes that you do not want to keep or delete the original file. As a result, you will have the current saved information in the original workbook and all previously saved information in the backup copy.

Though this feature is very helpful, it is hard enough to find in Excel. So let's do it together now:

  1. Go to FILE - > Save As.
  2. Select Computer and click on the Browse button.
    Click on the Browse button to open the Save As dialog window
  3. When the Save As dialog window pops up, click on the small arrow next to the Tools button at the bottom of the window.
  4. Select General Options… from the drop-down list.
    Open the Tools drop-down menu at the bottom of the Save As dialog to choose General Options
  5. Check the Always create backup box in the General Options dialog and click OK.
    Check the Always create backup box in the General Options dialog to save a backup copy of the document

Now you can rename your file and choose the desired location to save it. Excel will create a backup copy of the document in the same folder.

Note. A backed up copy is saved with different .xlk file extension. When you open it, Excel will ask you to verify that you really want to open this workbook. Just click Yes and you can restore a previous version of your spreadsheet.
Click Yes to confirm that you really want to open a backup copy

Create time-stamped backup versions in Excel

Now you know how to enable the Excel Auto Backup option. However, every time you save a workbook, a new backup copy will replace the existing one. How can you get back to the earlier version if you've already saved the document several times? Take it easy - you have at least two ways out from this situation.

The first one is to use ASAP Utilities. They offer the Save file and create backup tool that helps you create multiple backup versions of your document. Once you install these utilities in Excel, you can use a special keyboard shortcut to save your workbook and automatically create a backup copy. Each version has a timestamp in the file name, so you can easily find the necessary copy according to the date and time it was created.

If you are comfortable with VBA, you can use a special Excel AutoSave macro to backup your files. Just copy it from this article and paste into the code Module. You can create as many backup copies as you want just by pressing a simple shortcut. It will restore a previously saved version of your workbook and won't overwrite any old backup file. Each copy is marked with a date and time of backup.

If you saved copies of the file in earlier Excel versions, you may encounter the error " The file is corrupted and cannot be opened". See the solution to this problem in this article.

Back up Excel files to the cloud

For those who use cloud storage services for saving their docs, retrieving overwritten Excel files won't be a problem at all.

Let's have a closer look at OneDrive, Microsoft's storage option. Its biggest strength is that OneDrive is closely tied with Office. As an example, you can quickly open and save OneDrive documents right from your Excel. OneDrive and Excel work together to sync workbooks faster and let you work with other people on shared documents at the same time.

When you or your colleague makes changes to a document, OneDrive keeps track of the versions automatically, so you don't need to store multiple copies of the same document. With OneDrive's Version history you'll be able to see the earlier variants of the file, you'll know when the document was modified and who made the changes. You can also restore any of the previous versions if necessary.

Another very popular cloud storage service is Dropbox. It keeps snapshots of every change in your Dropbox folder over the last 30 days. So even if you saved a bad change, or if the file has been damaged or deleted, you can restore the document to an older version with only a few clicks. Dropbox doesn't work so closely with Microsoft Office as OneDrive, but it is so simple that everybody can master it.

Now you know different ways to recover unsaved files and create a backup copy of your workbook in Excel. And I hope you won't push the panic button next time when your computer crashes or power goes out.

163 comments

  1. Thank you so much, this (recover overwritten excel file) has saved me hours of rework!

  2. i found it!! THANK YOU SO MUCH!

  3. Thanks Ekaterina. Appreciate the tutorials. But I am still in a fix here.
    I accidentally answered "yes" to the prompt that you no longer need access to excel files on my auto recover pane (which popped up as you explained after power outage). I have spent ample time populating this spreadsheet. Can you help guide me please? Its a Microsoft excel 2010 document

  4. AWSOOOOME

    Saved the "save error" file. It gave my 4 hours back.

  5. *******************HELP**************
    My computer crashed and I lost an important excel document. AUTOSAVE did not save my document. I know it was working. Can I find the lost file anywhere.

    using office 2013

    Thanks

  6. After working for hours in Excel - my laptop crashed and I cannot locate the document that I was working on. I've tried the above steps....but, nothing is working. Is there another explanation of where this might be.?

  7. How can I retrieve a a version that has not been saved. The copy has been overwritten by a new version I opened. I have tried file info, manage versions and there is it a latest version other than the one I have opened.

  8. Morning i have worked that excel sheet in Server.After Excel sheet evening not opened.Please help me.

  9. Thank you!!!

  10. thankyou guys what a great feature i was panicing and thought i had lost my spreadsheet.

    Great information thankyou

  11. Hi, yesterday i m making salary sheet in my excel file.next day morning my friend replace my all data in my file, & their data add ,please give me suggestion ,hw to come my data????

    • Today I was working on an excel spread sheet entering data, the data i entered on one spread sheet was duplicated in another sheet sheet in which the original data was wiped out, How could this be...what did I do wrong?

  12. Thank you for saving my life! I almost cried after I accidently closed an excel file without saving it....I worked on it for hours.... thanks!!!!

  13. Thank you so much for this article! It saved me from losing a lot of work. I can't thank you enough!

  14. I closed down an unsaved file and was able to get it back. Thank you.

  15. hey! just so you guys know, this method works for me when under 'manage versions'show up nothing at all and i just can't seem to find the autosave file anywhere!

    no worries!

    continue to use the search option but search your file name under Computer, and it should be under the folder Users\XXX\Appdata\Microsoft\Roaming\....something like that! It should work for any word file, not just excel.

    Cheers!

  16. I did some modification on some excel sheets few weeks back while the files are on an external hard drive. But unfortunately my system got turned off due to some updating process, and I couldn't save any documents.

    I recovered several files from the auto recovery option but not all the files. After 2 weeks I need those updated files I couldnt save.

    What can I do

  17. Autosave doesn't work for me either :(

    AND cannot copy and paste from the excelbee website, the VBA code from the link given above (http://www.excelbee.com/create-backup-copy-of-a-workbook-in-excel-2007-2010-2013#close).

    Nice of them to tell us to "Just Paste the code into your VBA editor" then lock down the page so you can't actually copy it from the page. :/

    AND the bit of code (Macro) that they graciously give us is password protected so you can't modify the folder location there either.

    Totally possible it's just me. But I tried in 3 diff. Browsers and even tried in the "Developer" console.

    I guess I could just type it all in.
    Why does everything have to be so hard!

  18. Fucking God fuck God it didnt god damn work!

  19. Thank you very much for this magic!

  20. Hi, today the 17th/Feb/2015 I have exported a report from SAP "Accounting package" and it happened that after hours working on it I remember saving it however I got frustrated when reopened at 7:31pm the Excel file prior to my email sending because it had lost its layout, feature and sheets are missing. It appears to me that I have tried your tips above but could not recover my original Excel file yet in MSO Excel 2010 apparently due to an older version (2003 or 2007) issue. PLease help me recover important document. Thanking you in advance

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)