如何以编程方式激活 Powerpoint 2010 中的“开发人员”选项卡?
谁能帮助我如何激活 Powerpoint2010 应用程序上的“开发人员”选项卡?我已经创建了一个新的 Powerpoint 演示文稿
PowerPoint.Application oPPT = new PowerPoint.Application();
oPPT.Visible = Office.MsoTriState.msoTrue;
PowerPoint.Presentations oPresSet = oPPT.Presentations;
PowerPoint.Presentation oPres = oPresSet.Add(Office.MsoTriState.msoTrue);
,现在我只想启用默认情况下未禁用的“开发人员”选项卡。我该如何执行此操作?
Could anyone help me how can I activate the 'developer' tab on my Powerpoint2010 application? I have created a new Powerpoint presentation
PowerPoint.Application oPPT = new PowerPoint.Application();
oPPT.Visible = Office.MsoTriState.msoTrue;
PowerPoint.Presentations oPresSet = oPPT.Presentations;
PowerPoint.Presentation oPres = oPresSet.Add(Office.MsoTriState.msoTrue);
Now I just want to enable the Developer tab which by default is not disabled.. How can I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只是补充一点,Paul 是对的,您可以(事实上,必须)通过在 2010 年自定义功能区来添加开发人员选项卡
。选项|自定义功能区并选中右侧列表框中“开发人员”旁边的复选框。
Just to add a bit, Paul's correct, you can (have to, in fact) add the developer tab by customizing the ribbon in 2010.
File | Options | Customize Ribbon and put a check next to "Developer" in the list box on the right.
这是 PowerPoint 应用程序(2010 年)的设置,而不是单个演示文稿。作为功能区的一部分,我没有看到启用开发人员选项卡的简单方法。也许,这可以通过定制功能区来完成。
然而,最简单的方法似乎是在启动 PPT 之前设置注册表项
HKCU\Software\Microsoft\Office\14.0\PowerPoint\Options\DeveloperTools = 1
。That's a setting for the PowerPoint application (for 2010) not a single presentation. As part of the ribbon I do not see a simple way to enable the developer tab. Probably, it could be done by customizing the ribbon.
However, the easiest way seems to be setting the registry key
HKCU\Software\Microsoft\Office\14.0\PowerPoint\Options\DeveloperTools = 1
before starting PPT.