Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Ribbonx - how to create two ribbons?

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Ribbonx - how to create two ribbons?

Hi be?????????????????

You can not create two ribbons.
You can create 2 or more tabs on the ribbon if you want

Do you want to create two custom tabs on the ribbon? (I have not read the xml)

Must go now but will reply this evening with a example if this is what you want.

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


wrote in message ...
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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Ribbonx - how to create two ribbons?

Maybe this is what you want (Just a example)

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"

<ribbon
<tabs

<tab id="customTab2" label="Favorite Groups 2" insertAfterMso="TabHome"

<group idMso="GroupClipboard" /
<group idMso="GroupSortFilter" /
<group idMso="GroupInsertIllustrations" /

<group id="YourCustomGroup2" label="Favorite commands"
<button idMso="VisualBasic" /
<button idMso="SheetProtect" /
<button idMso="ConvertTextToTable" /
<separator id="MySeparator2" /
<menu idMso="WindowSwitchWindowsMenuExcel" size="large" /
</group

</tab

<tab id="customTab1" label="Favorite Groups 1" insertAfterMso="TabHome"

<group idMso="GroupClipboard" /
<group idMso="GroupSortFilter" /
<group idMso="GroupInsertIllustrations" /

<group id="YourCustomGroup1" label="Favorite commands"
<button idMso="VisualBasic" /
<button idMso="SheetProtect" /
<button idMso="ConvertTextToTable" /
<separator id="MySeparator1" /
<menu idMso="WindowSwitchWindowsMenuExcel" size="large" /
</group

</tab

</tabs
</ribbon
</customUI


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Ron de Bruin" wrote in message ...
Hi be?????????????????

You can not create two ribbons.
You can create 2 or more tabs on the ribbon if you want

Do you want to create two custom tabs on the ribbon? (I have not read the xml)

Must go now but will reply this evening with a example if this is what you want.

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


wrote in message ...
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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Ribbonx - how to create two ribbons?

Hi Ron

Thanks. I was able to work out adding multiple tabs by looking at the
examples on your site. I had hoped that I could create two distinct
ribbons to easily group several sets of tabs together.

Thanks

bob
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Ribbonx - how to create two ribbons?

Hi Bob

You can use the Dictator example maybe ?
This way only your tabs are visible

For other readers this is the page
http://www.rondebruin.nl/ribbon.htm



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


wrote in message ...
Hi Ron

Thanks. I was able to work out adding multiple tabs by looking at the
examples on your site. I had hoped that I could create two distinct
ribbons to easily group several sets of tabs together.

Thanks

bob

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ribbons sunshine New Users to Excel 4 September 4th 08 08:42 PM
Add item to 'Cell' context menu with XML (RibbonX) Vincent_6636 Excel Programming 2 June 11th 07 12:49 AM
Copy RibbonX toanother computer Rob[_4_] Excel Discussion (Misc queries) 0 April 18th 07 09:06 AM
About Officemenu(RibbonX) MK Excel Programming 9 April 14th 07 11:34 PM
Extend Excel C API add-in for using RibbonX API Nandan Excel Programming 0 April 10th 07 05:07 PM


All times are GMT +1. The time now is 07:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"