xóa danh sách tài liệu recent document lists khỏi Excel

Liên hệ QC

lam080808

Thành viên mới
Tham gia
7/3/14
Bài viết
9
Được thích
3
Để xoá bỏ danh sách Recent excel thường vào : File > Options > Advanced > Display section và đổi thành số "0" trong hộp "Show this number of Recent Documents"
Cũng có thể xoá bằng VBA code (theo https://www.extendoffice.com/documents/excel/2116-excel-clear-recent-documents.html)
1. Press the ALT + F11 mở Microsoft Visual Basic for Applications window.
2. Click Insert > Module, và dán code dưới vào Module Window.

VBA code: remove the recent document lists


Sub Clearrecentfiles()
'Update 20140925

On Error Resume Next
Do Until
Err.Number <> 0
Application.RecentFiles.Item(1).Delete

Loop
End
Sub



3. sau đó nhấn F5 để chạy code, để xoá các file danh sach Recent .
 
Lần chỉnh sửa cuối:
Web KT

Bài viết mới nhất

Back
Top Bottom