Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to undo all changes to get back the original data in Excel?

After modifying a worksheet, you may want to undo all changes to recover the original data of your worksheet. For Excel, it has the undo function to undo changes. But for undoing all changes you have done to the worksheet, it takes time to click the Undo button again and again. Actually, there are methods for you do quickly get back the original data after modifying the worksheet. Please browse this article for more details.

Undo all changes to get back the original data with Undo function

Undo all changes to get back the original data with backup

Undo all changes to get back the original data with Kutools for Excel


arrow blue right bubble Undo all changes to get back the original data with Undo function


The original method for undoing changes in Excel is to use the Undo function. Please do as follows.

1. After modifying current worksheet, click the Undo button in the Quick Access Toolbar to undo the changes you have made to the worksheet.

Notes:

1. To undo all changes together at once, please click the button besides the undo button to list all changes you made to the worksheet, move the cursor to the last changed one to select all changes in the list, and then click it to remove all changes at once.

2. If the other worksheets in current workbook was modified, changes of these worksheets are listed in the Undo list as well. So, to undo all changes in a specified worksheet with this method becomes complex.


arrow blue right bubble Undo all changes to get back the original data with backup

Another method for quickly getting back the original data after modifying worksheet is to back up this sheet before modifying. With the following VBA code, you can easily back up the worksheet.

1. Stay in the worksheet and keep the original data you want to back up, then press Alt + F11 to open the Microsoft Visual Basic Application window.

2. In the Microsoft Visual Basic Application window, click Insert > Module, and then copy and paste the below VBA code into the Module window.

VBA code: Back up worksheet

Sub CreateBackup()
Dim xWs As Worksheet
Dim xBackupWs As Worksheet
Dim xName As String
Set xWs = Application.ActiveSheet
xName = xWs.Name
xWs.Copy After:=Sheets(Application.Worksheets.Count)
Set xBackupWs = Application.ActiveSheet
xBackupWs.Name = "backup"
xWs.Activate
End Sub

3. Press the F5 key to run the code, then a worksheet named backup is created with exactly the same content with the specified worksheet.


arrow blue right bubble Undo all changes to get back the original data with Kutools for Excel

Do you want to restore to the original data with just one click? With the Snap utility of Kutools for Excel, you can take a snapshot of current worksheet before modifying, and then get back the original data with one click.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days. 

1. Before modifying the worksheet, Click Kutools > Snap > Track Snap. See screenshot:

2. In the Track Snap dialog box, click the OK button.

When you need to get back the original data of the worksheet, just click the snapshot you took to restore it.

Notes:

1. The Snap utility will get back all original data through the whole workbook.

2. Your created snapshots will be removed when launch the Excel next time.

Tip.If you want to have a free trial of this utility, please go to download the software freely first, and then go to apply the operation according above steps.


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Bier · 1 years ago
    Since when can I undo changes in Excel after hitting Save button?

    As my memory serves, since recently it is possible to undo changes even after hitting Save, which is a concern as this was my way of releasing cache memory while working on large files. Also, I risk adding attachments that do not show the latest work available.
    • To post as a guest, your comment is unpublished.
      Ed · 1 months ago
      How do I undo changes in Excel after hitting save button
      • To post as a guest, your comment is unpublished.
        Bier · 1 months ago
        I found out by, by mistake, hitting the undo button in Excel 2010. After pressing save then hitting undo it would still restore previous version. In my case, not convenient as it meant no cache was released and I can't be fully certain that on close, I save all intended modifications to the file.