跳到主要內容

如何撤消所有更改以恢復Excel中的原始數據?

修改工作表後,您可能要撤消所有更改以恢復工作表的原始數據。 對於Excel,它具有撤消功能以撤消更改。 但是,要撤消您對工作表所做的所有更改,需要花費時間再次單擊“撤消”按鈕。 實際上,有一些方法可以讓您在修改工作表後快速獲取原始數據。 請瀏覽本文以獲取更多詳細信息。

撤消所有更改以使用撤消功能恢復原始數據
撤消所有更改以通過備份取回原始數據
撤消所有更改以使用Kutools for Excel取回原始數據


撤消所有更改以使用撤消功能恢復原始數據

在Excel中撤消更改的原始方法是使用“撤消”功能。 請執行以下操作。

1.修改當前工作表後,單擊 復原 按鈕在 快速訪問工具欄 撤消對工作表所做的更改。

筆記:

1.要一次撤消所有更改,請單擊 單擊“撤消”按鈕旁邊的“按鈕”以列出您對工作表所做的所有更改,將光標移至上次更改的位置以選擇列表中的所有更改,然後單擊它以一次刪除所有更改。

2.如果當前工作簿中的其他工作表已被修改,則這些工作表的更改也會在“撤消”列表中列出。 因此,使用此方法撤消指定工作表中的所有更改變得很複雜。

撤消所有更改以通過備份取回原始數據

修改工作表後快速恢復原始數據的另一種方法是在修改前備份此工作表。 使用以下VBA代碼,您可以輕鬆備份工作表。

1.保留在工作表中,並保留要備份的原始數據,然後按 其他 + F11 打開 Microsoft Visual Basic應用程序 窗口。

2。 在裡面 Microsoft Visual Basic應用程序 窗口中,單擊 插入 > 模塊,然後將下面的VBA代碼複製並粘貼到“模塊”窗口中。

VBA代碼:備份工作表

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。 按 F5 鍵運行代碼,然後創建一個名為backup的工作表,其內容與指定工作表的內容完全相同。


撤消所有更改以使用Kutools for Excel取回原始數據

您是否想一鍵還原到原始數據? 隨著 搶購 的效用 Excel的Kutools,您可以在修改之前拍攝當前工作表的快照,然後一鍵取回原始數據。

申請前 Excel的Kutools首先下載並安裝.

1.在修改工作表之前,單擊 庫工具 > 搶購 > 跟踪捕捉。 看截圖:

2。 在裡面 跟踪捕捉 對話框中,單擊 OK 按鈕。

當您需要撤消所有更改並取回工作表的原始數據時,只需單擊您用來恢復它的快照。

筆記:

1。 “ 搶購 實用程序將通過整個工作簿取回所有原始數據。
2.下次啟動Excel時,將刪除您創建的快照。

  如果您想免費試用(30天)此實用程序, 請點擊下載,然後按照上述步驟進行操作。

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I done some changes in Excel and saved it and closed the file but I want 25 days old data I want to undo all changes what should I do it's very necessary to me to get the ol data plz suggest me
This comment was minimized by the moderator on the site
Pudiste Resolver?? yo tambien quiero saber los datos que habian en una planilla de excel hace mas de 15 dias.. me modificaron todos los datos y necesito recuperar los anteriores
This comment was minimized by the moderator on the site
I done some changes in Excel and saved it and closed the file but I want old data I want to undo all changes what should I do it's very necessary to me to get the ol data plz suggest me
This comment was minimized by the moderator on the site
I done some changes in Excel and saved it and closed the file but I want old data I want to undo all changes what should I do it's very necessary to me to get the ol data plz suggest me
This comment was minimized by the moderator on the site
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.
This comment was minimized by the moderator on the site
How do I undo changes in Excel after hitting save button
This comment was minimized by the moderator on the site
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.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations