Excel CustomUIfunction区布局

我正在尝试为下面的图像创build一个自定义function区。 (两行button,下面有一个下拉框)。

期望结果的例子

我开始认为它不能完全按照我的意愿去做。

我已经尝试了几种不同的方法(其中之一),但它们都产生相同的输出。 3列,2x2button与第三列中的下拉框。

有谁知道这是可能的吗?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <customUI onLoad="Ribbon.onLoad" xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon> <tabs> <tab id="toolRibbon" label="redacted"> <group id="groupDocument" label="Secret Document"> <box id="z" boxStyle="vertical"> <box id="a" boxStyle="horizontal"> <box id="aa" boxStyle="vertical"> <button id="aaa" label="AAA" /> <button id="aab" label="AAB" /> </box> <box id="ab" boxStyle="vertical"> <button id="aba" label="ABA" /> <button id="abb" label="ABB" /> </box> </box> <comboBox id="b" label="Looms"> <item id="ba" label="BA" /> <item id="bb" label="BB" /> <item id="bc" label="BC" /> </comboBox> </box> </group> </tab> </tabs> </ribbon> </customUI> 

通过更彻底地查看可用的控件后,我发现buttonGroup允许我并排button。

现在,让他们正确的大小..

 <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon> <tabs> <tab id="toolRibbon" label="redacted"> <group id="groupDocument" label="Specia; Document"> <buttonGroup id="a"> <button id="aa" label="AA"/> <button id="ab" label="AB"/> </buttonGroup> <buttonGroup id="b" > <button id="ba" label="BA"/> <button id="bb" label="BB"/> </buttonGroup> <comboBox id="c" label="Looms"> <item id="ca" label="ca"/> <item id="cb" label="cb"/> <item id="cc" label="cc"/> </comboBox> </group> </tab> </tabs> </ribbon> </customUI>