B
be_675
Can someone tell me what I am doing that is incorrect? I can create a
single ribbon, but when I try to create two it fails.
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/
customui">
<!-- Add Custom group to the Home tab in the ribbon-->
<!-- The example add three buttons to the group and a menu button
with 5 options-->
<!-- Click on the "generate Callbacks" button in the UI editor to
create the macro(s)-->
<!-- You can copy them in a module in your workbook then and add
your code-->
<ribbon>
<tabs>
<tab id="TabBobsTools12" label="BobsTools2"
insertAfterMso="TabView">
<group id="customGroup12" label="Group 1"
insertBeforeMso="GroupEditing" >
<menu id="MyDropdownMenu12" label="My Menu2" size="large"
imageMso="TextAlignGallery" >
<button id="customButton42" label="Caption 4"
onAction="Macro4" imageMso="TextAlignGallery" />
<button id="customButton52" label="Caption 5"
onAction="Macro5" imageMso="TextAlignGallery" />
</menu>
</group>
</tab>
</tabs>
</ribbon>
<ribbon>
<tabs>
<tab id="TabBobsTools" label="BobsTools"
insertAfterMso="BobsTools2">
<menu id="MyDropdownMenu" label="My Menu" size="large"
imageMso="TextAlignGallery" >
<button id="customButton4" label="Caption 4"
onAction="Macro4" imageMso="TextAlignGallery" />
<button id="customButton5" label="Caption 5"
onAction="Macro5" imageMso="TextAlignGallery" />
</menu>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
single ribbon, but when I try to create two it fails.
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/
customui">
<!-- Add Custom group to the Home tab in the ribbon-->
<!-- The example add three buttons to the group and a menu button
with 5 options-->
<!-- Click on the "generate Callbacks" button in the UI editor to
create the macro(s)-->
<!-- You can copy them in a module in your workbook then and add
your code-->
<ribbon>
<tabs>
<tab id="TabBobsTools12" label="BobsTools2"
insertAfterMso="TabView">
<group id="customGroup12" label="Group 1"
insertBeforeMso="GroupEditing" >
<menu id="MyDropdownMenu12" label="My Menu2" size="large"
imageMso="TextAlignGallery" >
<button id="customButton42" label="Caption 4"
onAction="Macro4" imageMso="TextAlignGallery" />
<button id="customButton52" label="Caption 5"
onAction="Macro5" imageMso="TextAlignGallery" />
</menu>
</group>
</tab>
</tabs>
</ribbon>
<ribbon>
<tabs>
<tab id="TabBobsTools" label="BobsTools"
insertAfterMso="BobsTools2">
<menu id="MyDropdownMenu" label="My Menu" size="large"
imageMso="TextAlignGallery" >
<button id="customButton4" label="Caption 4"
onAction="Macro4" imageMso="TextAlignGallery" />
<button id="customButton5" label="Caption 5"
onAction="Macro5" imageMso="TextAlignGallery" />
</menu>
</group>
</tab>
</tabs>
</ribbon>
</customUI>