ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Office Button Customization - Hiding Menus - Excel 2007 (https://www.excelbanter.com/excel-discussion-misc-queries/127556-office-button-customization-hiding-menus-excel-2007-a.html)

marcnz

Office Button Customization - Hiding Menus - Excel 2007
 
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

Jim Rech

Office Button Customization - Hiding Menus - Excel 2007
 
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
"marcnz" wrote in message
...
| 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




All times are GMT +1. The time now is 06:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com