Removing history of files from the File menu

  • Thread starter Thread starter Richard Mahan
  • Start date Start date
R

Richard Mahan

I woulk like to know how to delete the history of recent files form the
file menu.
 
Hi Richard

Under Tools>Options>General delete the value in Recently Used Files
List.
Don't use the spinner, as this will not allow you to go below 1, and it
will not allow you to set it to zero, so just press delete in the box.

To do it programmatically, something like the following

Sub HideRecentFiles()
With Application
.RecentFiles.Maximum = 0
End With
End Sub

Obviously you would want the reverse to Show the List, where you set the
value to something greater than 0
 
Thankyou so much, that works.

Roger Govier said:
Hi Richard

Under Tools>Options>General delete the value in Recently Used Files List.
Don't use the spinner, as this will not allow you to go below 1, and it
will not allow you to set it to zero, so just press delete in the box.

To do it programmatically, something like the following

Sub HideRecentFiles()
With Application
.RecentFiles.Maximum = 0
End With
End Sub

Obviously you would want the reverse to Show the List, where you set the
value to something greater than 0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Windows XP Prohibit record run history 0
Shared Workbook Saving issue 2
File History Limitation 2
Input box data check 5
mysterious backup files? 1
File Menu Defaults to "Recent" View 1
Index.dat 5
How To Delete URL History 7

Back
Top