跳到主要內容

如何從Excel清除最近的文檔列表?

每次打開Excel文件時,最近打開的工作簿列表將存儲在“最近”窗格中,如下面的屏幕截圖所示。 但是,有時,您需要從“最近的”窗格中清除如此冗長的工作簿列表。 本文將向您展示如何使最近的文檔列表消失。

文檔清除最近文件列表 1

使用“選項”功能清除最近的文檔列表

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

使用VBA代碼清除最近的文檔列表


箭頭藍色右氣泡 使用“選項”功能清除最近的文檔列表

要在Excel中刪除最近的文檔列表,可以轉到Excel選項進行一些設置。 請執行以下操作:

1. 打開一個工作簿,然後單擊 文件 > 選項 (在Excel 2007中。單擊 Office 按鈕> 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選項卡為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