跳到主要内容

如何撤消所有更改以恢复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 撤消所有更改以取回原始数据

您是否想一键还原到原始数据? 随着 捕捉 实用程序 Kutools for Excel,您可以在修改之前拍摄当前工作表的快照,然后一键取回原始数据。

申请前 Kutools for Excel首先下载并安装.

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 Tab 为 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