LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Excel 2007 Ribbon Check custom buttons

Hi all,

via xml i add a tab to a ribbon, say something like:

<tab id="myId1" lable="MyLable"
<group id="gr1"
<button id="myButton1" onAction="MySub1" lable="Test1"
<button id="myButton1" onAction="MySub1" lable="Test2"
</group
<group id="gr2"
<button id="myButton1" onAction="MySub2" lable="Test3"
<button id="myButton1" onAction="MySub2" lable="Test4"
</group
</tab

In my workbook i have now two subs

sub MySub1(control as IbRibbonControl)
'some action
end sub

sub MySub2(control as IbRibbonControl)
'some action
end sub

Now it could be possible, that sombody removes the xmlpart for group gr2.

How can i check in my Sub MySub1 if the group gr2 with the buttons with the
given id and onAction arguments exists?

Is there a way? I found only GetMso ... which won't help with own
definitions?

Any idea?

tx in advance
Alice




 
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
Unable to see custom Ad-Ins ribbon tab in Excel 2007 + Windows 7 JoeU in Texas Excel Worksheet Functions 0 January 11th 10 07:01 PM
Not all Ribbon Buttons are available in Excel 2007 Bill Excel Discussion (Misc queries) 4 May 14th 09 03:47 PM
Radio buttons, check boxes in Excel 2007 smartgal Excel Discussion (Misc queries) 4 November 11th 08 06:52 PM
QAT Buttons and Ribbon Issues in Excel 2007 Ailish Excel Discussion (Misc queries) 1 May 9th 08 06:02 PM
make custom buttons for macros on quick access bar excel 2007 shieber Excel Discussion (Misc queries) 2 April 28th 08 03:57 PM


All times are GMT +1. The time now is 02:16 AM.

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

About Us

"It's about Microsoft Excel"