Remove “Save & Send” from File menu in Excel 2010 using custom XML

夙愿已清 提交于 2019-12-02 12:03:34

So of course right after I asked this question I found the solution. Here's the format to remove the various items under the File ribbon (what is now apparently called backstage in Office 2010):

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<backstage>
    <button idMso="FileSave" visible="false"/>
    <button idMso="FileSaveAs" visible="false"/>
    <button idMso="FileOpen" visible="false"/>
    <button idMso="FileClose" visible="false"/>
    <button idMso="ApplicationOptionsDialog" visible="false"/>
    <button idMso="FileExit" visible="false"/>
    <tab idMso="TabInfo" visible="false"/>
    <tab idMso="TabRecent" visible="false"/>
    <tab idMso="TabNew" visible="false"/>
    <tab idMso="TabPrint" visible="false"/>
    <tab idMso="TabShare" visible="false"/>
    <tab idMso="TabHelp" visible="false"/>
    </backstage>
</customUI>

This will remove every option under the File menu. You can obviously selectively remove/show the elements you want to.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!