Hi all
There is no built-in option to disable the MRU(“Most Recently Used”) file list in the Office button menu.
A few weeks ago Excel guru Jim Rech send me a test file to disable the MRU list in Excel 2007.
After a few test versions I upload the last version from Jim to my site.
Try this example file with XML to create a new tab on the ribbon and hide/disable a few controls
and the VBA code from Jim Rech to disable/hide the MRU list.
Part from the comments in the code from Jim:
Because there is apparently no way to disable the MRU list on the Office Menu directly
we clear it by setting Application.RecentFiles.Maximum to 0. Since this action clears
the MRU list in the registry we first backup its contents to the registry as well
as number of files the user is showing in it. We use the registry in case VB variables are cleared.
Download the example file from my site in the “Ribbon Tips section”
http://www.rondebruin.nl/ribbon.htm
Or the direct link
http://www.rondebruin.nl/files/Dictator-MRU-ListJR.zip
Please give feedback if you have problems with the code or suggestions.
Tip: check out also the new Add-in from Jim Rech to find the names of all Office 2007 button images
on my site, see point 4.
Ron de Bruin and Jim Rech
http://www.rondebruin.nl/tips.htm