Office Button Customization - Hiding Menus - Excel 2007

M

marcnz

Hi,
I need to remove "Open", "New" and "Recent Files" list from the Office
Button in Excel (and Word).
I have no idea on how to do it for those applications, although I have it
working for Ms Access 2007. The names are different probably.

Thanks
 
J

Jim Rech

You cannot remove Recent Documents from the Office menu in Excel, as far as
I know. The markup to disable Open and New on the Office menu is:

<?xml version="1.0" encoding="utf-8" ?>
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<officeMenu>
<button idMso="FileNew" enabled="false" />
<button idMso="FileOpen" enabled="false" />
</officeMenu>
</ribbon>
</customUI>

--
Jim
| Hi,
| I need to remove "Open", "New" and "Recent Files" list from the Office
| Button in Excel (and Word).
| I have no idea on how to do it for those applications, although I have it
| working for Ms Access 2007. The names are different probably.
|
| Thanks
 
Top