【问题标题】:How to disable (or remove) the "protect sheet" and "protect workbook" button in excel 2007 menu?如何禁用(或删除)excel 2007 菜单中的“保护工作表”和“保护工作簿”按钮?
【发布时间】:2011-01-14 19:21:37
【问题描述】:

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

我该怎么做?

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

【问题讨论】:

标签: vba excel excel-2007


【解决方案1】:

如果没有“customUI xml 机制”,您将无法使用 VBA 影响功能区。见Excel 2007: Ribbon customization - Disable custom buttons

要了解有关 RibbonX 的更多信息,您可以阅读这篇 MSDN 文章:Using RibbonX from Visual Basic

【讨论】:

  • 第一个链接与禁用 custom 按钮有关。保护表按钮是内置的。
  • 第一个链接是dead :(
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-09-16
  • 1970-01-01
  • 1970-01-01
  • 2017-04-15
  • 1970-01-01
  • 2018-03-11
相关资源
最近更新 更多