如何禁用(或删除)“保护表”和“保护工作簿”按钮在excel 2007菜单中? [英] How to disable (or remove) the "protect sheet" and "protect workbook" button in excel 2007 menu?

查看:133
本文介绍了如何禁用(或删除)“保护表”和“保护工作簿”按钮在excel 2007菜单中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VBA,我想在excel 2007菜单中禁用保护工作表和保护工作簿按钮。

I'm using VBA and I would like to disable the "protect sheet" and "protect workbook" button in excel 2007 menu.

我该怎么做?

提前感谢任何帮助。
最好的问候

Thanks in advance for any help. Best regards

推荐答案

如果没有customUI xml机制,您不能影响使用VBA的功能区。请参阅 Excel 2007:功能区自定义 - 禁用自定义按钮

You cannot affect the ribbon using VBA without the "customUI xml mechanism". See Excel 2007: Ribbon customization - Disable custom buttons.

要了解有关RibbonX的更多信息,您可以阅读此MSDN文章:从Visual Basic使用RibbonX

To learn more about RibbonX, you can read this MSDN article: Using RibbonX from Visual Basic.

这篇关于如何禁用(或删除)“保护表”和“保护工作簿”按钮在excel 2007菜单中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆