Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default UIRibbon- XML part

Morning all.
I'm not sure this is the correct place to post my question, so if it's not,
please let me know, and I'll move it over to the correct newsgroup.

I'm using the Custom UI Editor to create a ribbon menu for my Excel 2007.
So far, it's been working real well-- I've been using it for over 18 months
now.
I want to make some modifications to it, and have hit a snag.
The snag is that I was using this particular grouping as a menu and want to
change it to a gallery.
I had originally tried making it a gallery but the button control would not
work-- I kept receiving an error that stated the button was not the right
element to use; or that I could only use the button command within the
gallery once, and it had to be at the bottom. Since it's been a while, I
tried again-- forgetting the original troubles I had then-- and found the
same error.
I looked up the 3 part Ribbon tutorial on the MSDN library, and pulled a
copy of the code they use for the insert month gallery sample. I tried
duplicating it, and in my version-- with and without the onAction in the
Gallery, and the Button at the bottom, I get multiple "OnAction not declared"
errors for my item controls.
Thus-- I don't understand now where I've gone wrong, and am simply stuck.
Your helps are appreciated.
Thank you.

My XML code is below.

--------------------------------------------------------------------------------
<gallery id="GalleryA" label="Section Numbers" rows= "6" columns = "6"
screentip= "These are the section numbers" onAction="InsertSection"

<item id="__id15" label="6" onAction="Sect06" /
<item id="__id16" label="5" onAction="Sect05" /
<item id="__id17a" label="4" onAction="Sect04" /
<item id="__id18a" label="3" onAction="Sect03" /
<item id="__id17" label="2" onAction="Sect02" /
<item id="__id18" label="1" onAction="Sect01" /
<item id="__id19" label="7" onAction="Sect07" /
<item id="__id20" label="8" onAction="Sect08" /
<item id="__id21" label="9" onAction="Sect09" /
<item id="__id22" label="10" onAction="Sect10" /
<item id="__id23" label="11" onAction="Sect11" /
<item id="__id24" label="12" onAction="Sect12" /
<item id="__id25" label="18" onAction="Sect18" /
<item id="__id26" label="17" onAction="Sect17" /
<item id="__id27" label="16" onAction="Sect16" /
<item id="__id28" label="15" onAction="Sect15" /
<item id="__id29" label="14" onAction="Sect14" /
<item id="__id30" label="13" onAction="Sect13" /
<item id="__id31" label="19" onAction="Sect19" /
<item id="__id32" label="20" onAction="Sect20" /
<item id="__id33" label="21" onAction="Sect21" /
<item id="__id34" label="22" onAction="Sect22" /
<item id="__id35" label="23" onAction="Sect23" /
<item id="__id36" label="24" onAction="Sect24" /
<item id="__id25a" label="30" onAction="Sect30" /
<item id="__id26a" label="29" onAction="Sect29" /
<item id="__id27a" label="28" onAction="Sect28" /
<item id="__id28a" label="27" onAction="Sect27" /
<item id="__id29a" label="26" onAction="Sect26" /
<item id="__id30a" label="25" onAction="Sect25" /
<item id="__id31a" label="31" onAction="Sect31" /
<item id="__id32a" label="32" onAction="Sect32" /
<item id="__id33a" label="33" onAction="Sect33" /
<item id="__id34a" label="34" onAction="Sect34" /
<item id="__id35a" label="35" onAction="Sect35" /
<item id="__id36a" label="36" onAction="Sect36" /
<button id ="_buttonSectionNo" label="Insert Section"
onaction="SectionNo" /
</gallery

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default issue resolved

Ron De Bruin solved the issue, by developing some excellent ribbon-gallery
examples in his tips page.


"SteveDB1" wrote:

Morning all.
I'm not sure this is the correct place to post my question, so if it's not,
please let me know, and I'll move it over to the correct newsgroup.

I'm using the Custom UI Editor to create a ribbon menu for my Excel 2007.
So far, it's been working real well-- I've been using it for over 18 months
now.
I want to make some modifications to it, and have hit a snag.
The snag is that I was using this particular grouping as a menu and want to
change it to a gallery.
I had originally tried making it a gallery but the button control would not
work-- I kept receiving an error that stated the button was not the right
element to use; or that I could only use the button command within the
gallery once, and it had to be at the bottom. Since it's been a while, I
tried again-- forgetting the original troubles I had then-- and found the
same error.
I looked up the 3 part Ribbon tutorial on the MSDN library, and pulled a
copy of the code they use for the insert month gallery sample. I tried
duplicating it, and in my version-- with and without the onAction in the
Gallery, and the Button at the bottom, I get multiple "OnAction not declared"
errors for my item controls.
Thus-- I don't understand now where I've gone wrong, and am simply stuck.
Your helps are appreciated.
Thank you.

My XML code is below.

--------------------------------------------------------------------------------
<gallery id="GalleryA" label="Section Numbers" rows= "6" columns = "6"
screentip= "These are the section numbers" onAction="InsertSection"

<item id="__id15" label="6" onAction="Sect06" /
<item id="__id16" label="5" onAction="Sect05" /
<item id="__id17a" label="4" onAction="Sect04" /
<item id="__id18a" label="3" onAction="Sect03" /
<item id="__id17" label="2" onAction="Sect02" /
<item id="__id18" label="1" onAction="Sect01" /
<item id="__id19" label="7" onAction="Sect07" /
<item id="__id20" label="8" onAction="Sect08" /
<item id="__id21" label="9" onAction="Sect09" /
<item id="__id22" label="10" onAction="Sect10" /
<item id="__id23" label="11" onAction="Sect11" /
<item id="__id24" label="12" onAction="Sect12" /
<item id="__id25" label="18" onAction="Sect18" /
<item id="__id26" label="17" onAction="Sect17" /
<item id="__id27" label="16" onAction="Sect16" /
<item id="__id28" label="15" onAction="Sect15" /
<item id="__id29" label="14" onAction="Sect14" /
<item id="__id30" label="13" onAction="Sect13" /
<item id="__id31" label="19" onAction="Sect19" /
<item id="__id32" label="20" onAction="Sect20" /
<item id="__id33" label="21" onAction="Sect21" /
<item id="__id34" label="22" onAction="Sect22" /
<item id="__id35" label="23" onAction="Sect23" /
<item id="__id36" label="24" onAction="Sect24" /
<item id="__id25a" label="30" onAction="Sect30" /
<item id="__id26a" label="29" onAction="Sect29" /
<item id="__id27a" label="28" onAction="Sect28" /
<item id="__id28a" label="27" onAction="Sect27" /
<item id="__id29a" label="26" onAction="Sect26" /
<item id="__id30a" label="25" onAction="Sect25" /
<item id="__id31a" label="31" onAction="Sect31" /
<item id="__id32a" label="32" onAction="Sect32" /
<item id="__id33a" label="33" onAction="Sect33" /
<item id="__id34a" label="34" onAction="Sect34" /
<item id="__id35a" label="35" onAction="Sect35" /
<item id="__id36a" label="36" onAction="Sect36" /
<button id ="_buttonSectionNo" label="Insert Section"
onaction="SectionNo" /
</gallery

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
spreadsheet part and part without grid lines jan Excel Discussion (Misc queries) 2 April 26th 10 11:27 PM
Search/Match/Find ANY part of string to ANY part of Cell Value TWhizTom Excel Worksheet Functions 0 July 21st 08 08:16 PM
Reduce a range to just be the part within another part? tskogstrom Excel Programming 1 October 7th 06 04:07 AM
Copying Part of a row down part of a column Not Excelling Excel Discussion (Misc queries) 3 January 6th 06 11:58 PM
How can I sperate the module into two part and connecte the two part and work well? ¬f©÷ Excel Programming 1 November 7th 04 03:05 AM


All times are GMT +1. The time now is 06:21 PM.

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"