Skip to main content

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

Author Siluvia Last modified

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


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.

click the Undo button in the Quick Access Toolbar

Notes:

1. To undo all changes together at once, please click the drop down button 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.

select all changes in the list, and then click it to remove all changes

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.
a screenshot of kutools for excel ai

Unlock Excel Magic with Kutools AI

  • Smart Execution: Perform cell operations, analyze data, and create charts—all driven by simple commands.
  • Custom Formulas: Generate tailored formulas to streamline your workflows.
  • VBA Coding: Write and implement VBA code effortlessly.
  • Formula Interpretation: Understand complex formulas with ease.
  • Text Translation: Break language barriers within your spreadsheets.
Enhance your Excel capabilities with AI-powered tools. Download Now and experience efficiency like never before!

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.


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 offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

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

click Track Snap featur of kutools

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

type a snapshot name

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

click the snapshot 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.

  If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!