Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default no custom button in ribbon

Dear all,

I am working on 2 buttons in the ribbon of Excel 2007 (on Vista). I manage
to put the button into the OfficeMenu but the button on the homeTab will not
show up. I can not find a problem with the XML. The button on the homeTab is
supposed to be placed in front of the group clipboard.

I have looked around to find a solution to this problem, but to no avail.
Does anyone have a suggestion, please?

XML follows:
----------------------
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
<ribbon
<officeMenu
<button id="testMenuButtonI" label="De test standaard Excel"
insertAfterMso="FileNew" imageMso="MailMergeStartLetters" screentip="De test
standaard" supertip="Maak een nieuwe standaardwerkmap."
onAction="StartStandaardExcel" /
</officeMenu

<tabs
<tab id="TabHome"
<group id="customGroup" label="De test"
insertBeforeMso="GroupClipboard"
<button id="customExcelStandaard" label="Start"
imageMso="MailMergeStartLetters" size="large" screentip="De test standaard"
supertip="Maak een nieuwe standaardwerkmap." onAction="StartStandaardExcel"
/
</group
</tab
</tabs
</ribbon
</customUI
-------------------

Cheers,
Birgit


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 256
Default no custom button in ribbon

Birgit,

Change this line:

<tab id="TabHome"

To this:

<tab idMso="TabHome"

See if that makes a difference.

-Ilia


On Feb 20, 10:07 am, "Birgit" wrote:
Dear all,

I am working on 2 buttons in the ribbon of Excel 2007 (on Vista). I manage
to put the button into the OfficeMenu but the button on the homeTab will not
show up. I can not find a problem with the XML. The button on the homeTab is
supposed to be placed in front of the group clipboard.

I have looked around to find a solution to this problem, but to no avail.
Does anyone have a suggestion, please?

XML follows:
----------------------
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
<ribbon
<officeMenu
<button id="testMenuButtonI" label="De test standaard Excel"
insertAfterMso="FileNew" imageMso="MailMergeStartLetters" screentip="De test
standaard" supertip="Maak een nieuwe standaardwerkmap."
onAction="StartStandaardExcel" /
</officeMenu

<tabs
<tab id="TabHome"
<group id="customGroup" label="De test"
insertBeforeMso="GroupClipboard"
<button id="customExcelStandaard" label="Start"
imageMso="MailMergeStartLetters" size="large" screentip="De test standaard"
supertip="Maak een nieuwe standaardwerkmap." onAction="StartStandaardExcel"
/
</group
</tab
</tabs
</ribbon
</customUI
-------------------

Cheers,
Birgit


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default no custom button in ribbon

For more examples see
Voor meer voorbeelden zie
http://www.rondebruin.nl/ribbon.htm



--

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


"Birgit" wrote in message ...
Dear all,

I am working on 2 buttons in the ribbon of Excel 2007 (on Vista). I manage
to put the button into the OfficeMenu but the button on the homeTab will not
show up. I can not find a problem with the XML. The button on the homeTab is
supposed to be placed in front of the group clipboard.

I have looked around to find a solution to this problem, but to no avail.
Does anyone have a suggestion, please?

XML follows:
----------------------
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
<ribbon
<officeMenu
<button id="testMenuButtonI" label="De test standaard Excel"
insertAfterMso="FileNew" imageMso="MailMergeStartLetters" screentip="De test
standaard" supertip="Maak een nieuwe standaardwerkmap."
onAction="StartStandaardExcel" /
</officeMenu

<tabs
<tab id="TabHome"
<group id="customGroup" label="De test"
insertBeforeMso="GroupClipboard"
<button id="customExcelStandaard" label="Start"
imageMso="MailMergeStartLetters" size="large" screentip="De test standaard"
supertip="Maak een nieuwe standaardwerkmap." onAction="StartStandaardExcel"
/
</group
</tab
</tabs
</ribbon
</customUI
-------------------

Cheers,
Birgit


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default no custom button in ribbon

Thank you very much for your help Ilia and Ron,

The tip with IdMso worked like a charm (Is this again the small differences
we have always seen between Word and Excel?).

Ron, you have a great website. I have put it into my favorites to return to
it soon.

Cheers,
Birgit

"Birgit" schreef in bericht
...
Dear all,

I am working on 2 buttons in the ribbon of Excel 2007 (on Vista). I manage
to put the button into the OfficeMenu but the button on the homeTab will
not show up. I can not find a problem with the XML. The button on the
homeTab is supposed to be placed in front of the group clipboard.



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
Assign custom number format to the ribbon Louis Wilson Excel Discussion (Misc queries) 0 June 24th 09 05:41 PM
Custom menus don't appear under custom ribbon tab Misbah Excel Programming 2 April 15th 08 01:29 AM
Add strikethrough button to ribbon George Conard Excel Discussion (Misc queries) 1 February 15th 08 08:53 PM
Macro Fault on Custom Ribbon Karen[_13_] Excel Programming 5 January 23rd 08 07:32 PM
Excel 2007 Ribbon Check custom buttons Alice[_7_] Excel Programming 6 April 22nd 07 01:58 PM


All times are GMT +1. The time now is 01:42 AM.

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"