Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
insertAfterMso=";GroupAlignmentExcel";在xml文件中不使用';行不通_Excel_Xml_User Interface_Ribbon - Fatal编程技术网

insertAfterMso=";GroupAlignmentExcel";在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>

我正在尝试将一个按钮添加到excel的功能区主选项卡。这似乎是xml文件中的以下部分:

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>

有人知道我有什么问题吗

这个代码适合你吗