如何为excel制作插件manifest.xml



我是excel编程的新手。我需要做这样的东西(导航栏上的新标签和一些按钮(。

主要问题是如何创建一个新的选项卡(如图片上的FWO Office加载项(。谢谢帮助!

您对具有自定义功能区选项卡的外接程序命令感兴趣。例如,以下示例显示如何使用具有PrimaryCommandSurface属性值的ExtensionPoint元素,以及每个元素应使用的子元素:

<ExtensionPoint xsi:type="PrimaryCommandSurface">
<CustomTab id="Contoso Tab">
<!-- If you want to use a default tab that comes with Office, remove the above CustomTab element, and then uncomment the following OfficeTab element -->
<!-- <OfficeTab id="TabData"> -->
<Label resid="residLabel4" />
<Group id="Group1Id12">
<Label resid="residLabel4" />
<Icon>
<bt:Image size="16" resid="icon1_32x32" />
<bt:Image size="32" resid="icon1_32x32" />
<bt:Image size="80" resid="icon1_32x32" />
</Icon>
<Tooltip resid="residToolTip" />
<Control xsi:type="Button" id="Button1Id1">
<!-- information about the control -->
</Control>
<!-- other controls, as needed -->
</Group>
</CustomTab>
</ExtensionPoint>

在Excel、PowerPoint和Word的外接程序命令文章中了解更多信息。

相关内容

最新更新