跳到主要内容

如何从Excel清除最近的文档列表?

每次打开Excel文件时,最近打开的工作簿列表将存储在“最近”窗格中,如下面的屏幕截图所示。 但是,有时,您需要从“最近的”窗格中清除如此冗长的工作簿列表。 本文将向您展示如何使最近的文档列表消失。

文档清除最近文件列表 1

使用“选项”功能清除最近的文档列表

使用清除未固定的工作簿功能清除最近的文档列表

使用VBA代码清除最近的文档列表


箭头蓝色右气泡 使用“选项”功能清除最近的文档列表

要在Excel中删除最近的文档列表,可以转到Excel选项进行一些设置。 请执行以下操作:

1. 打开一个工作簿,然后单击 文件 > 附加选项 (在Excel 2007中。单击 公司联络号码 按钮> Excel选项),并在中 Excel选项 对话框,请单击 高级 从左窗格中,然后向下滚动到 显示器 部分并将数字更改为 0 除了 显示此数量的最近文档 文本框。 看截图:

文档清除最近文件列表 1

2。 然后点击 OK 关闭此对话框,现在当您进入“最近使用”窗格时,所有最近使用的文档列表都被立即清除,请参见屏幕截图:

文档清除最近文件列表 3 -2 文档清除最近文件列表 4

备注:如果要还原最近的项目,可以将数字键入到 显示此数量的最近文档 中的文本框 Excel选项 对话。


箭头蓝色右气泡 使用清除未固定的工作簿功能清除最近的文档列表

您还可以通过应用清除未固定的工作簿功能来删除所有最近的文档列表。

1。 通过单击转到最近的文档列表 文件 > 最新产品 在Excel 2010中,或单击 文件 > 可选 > 近期工作簿 在Excel 2013中。

2。 然后在 近期工作簿 列表,右键单击并选择 清除未固定的工作簿 从上下文菜单中,查看屏幕截图:

文档清除最近文件列表 1

3。 然后会弹出一个提示框,提醒您是否要从列表中删除所有未固定的项目,单击“是”按钮,所有未固定的最近工作簿将被立即清除。

文档清除最近文件列表 1

笔记:

1.删​​除最近的文档列表后,将不再还原它们,并且此方法仅适用于Excel 2010、2013。

2.此方法仅删除未固定的文件。


箭头蓝色右气泡 使用VBA代码清除最近的文档列表

以下VBA代码也可以帮助您立即删除所有最近的文档列表。

1。 按 ALT + F11 键,然后打开 Microsoft Visual Basic for Applications窗口.

2。 点击 插页 > 模块,然后将以下代码粘贴到 模块窗口.

VBA代码:删除最近的文档列表

Sub Clearrecentfiles()
'Update 20140925
On Error Resume Next
Do Until Err.Number <> 0
Application.RecentFiles.Item(1).Delete
Loop
End Sub

3. 然后按 F5 键来运行此代码,并且所有最近的文档列表都已被立即删除。

备注:使用此代码,无法还原最近的文档列表。

最佳办公生产力工具

🤖 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
Useless. The recent locations, folders, whatever you name them, remains, can't get rid of them, annoying me over months, close to a year. Incredible!!!!! Freaking unwanted crap! Even posting here was an effort what a laugh! Everything goes in the direction of "let's provide useless service". Very good!
This comment was minimized by the moderator on the site
With VBA!
(I forgot the article was not only about VBA)
This comment was minimized by the moderator on the site
How to clear only unpinned recent files?
This comment was minimized by the moderator on the site
Well that only cleared them when I kept it set at 0, I tried closing and restarting, but all the deleted files shoe back up, the clear all unpinned option is not showing up in my version of 365
This comment was minimized by the moderator on the site
VBA - How do I remove a folder list name from the recent save as list in excel 2016?
This comment was minimized by the moderator on the site
Did you ever figure this out? I have the same question.
This comment was minimized by the moderator on the site
Right Click on Taskbar, click on Taskbar Setting then click on Start which is on the leftside of the page and then turn off the “Show recently opened items in Jump List on Start or the Task Bar.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations