insertAfterMso=";GroupAlignmentExcel";在xml文件中不使用';行不通
我正在尝试将一个按钮添加到excel的功能区主选项卡。这似乎是xml文件中的以下部分:insertAfterMso=";GroupAlignmentExcel";在xml文件中不使用';行不通,excel,xml,user-interface,ribbon,Excel,Xml,User Interface,Ribbon,我正在尝试将一个按钮添加到excel的功能区主选项卡。这似乎是xml文件中的以下部分: insertAfterMso="GroupAlignmentExcel" 不起作用,因为组结束于选项卡的末尾 完整的xml代码: <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> <ribbon> <tabs>
insertAfterMso="GroupAlignmentExcel"
不起作用,因为组结束于选项卡的末尾
完整的xml代码:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon>
<tabs>
<tab idMso="TabHome" >
<group id="CenterAll" label=" ">
<button id="CenterAllButton" label="Center All" onAction="CenterAll" imageMso="TableCellAlignMiddleCenter" size="large" insertAfterMso="GroupAlignmentExcel" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
有人知道我有什么问题吗
这个代码适合你吗