Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Add custom button to existing group Excel 2007

My employer just recently converted to Excel 2007. I'm trying to
figure out how to customize the ribbon for a few add-ins I use. I'm
using Custom UI Editor to run the XMLs to edit the ribbon.

There is one piece that I'm having trouble with - how to add icons/
buttons to an existing group. For example, I want to add 'Run Report'
button to Editing group. I use the code below, but it doesn't work.
Can someone help me figure out what is wrong with my code? Not even
sure if editing an existing default excel group is possible.

Code:
<ribbon
   <tabs
     <tab idMso="TabHome" 
       <group idMso="GroupEditingExcel" 
         <button id="RunRpt" label="Run Report" size="normal"
onAction="MacroRpt" imageMso="Calculator" /
       </group
     </tab
   </tabs
</ribbon
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Add custom button to existing group Excel 2007

See this page Viresh
http://www.rondebruin.nl/xmlribbongroups.htm

--

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


"Viresh Parmar" wrote in message ...
My employer just recently converted to Excel 2007. I'm trying to
figure out how to customize the ribbon for a few add-ins I use. I'm
using Custom UI Editor to run the XMLs to edit the ribbon.

There is one piece that I'm having trouble with - how to add icons/
buttons to an existing group. For example, I want to add 'Run Report'
button to Editing group. I use the code below, but it doesn't work.
Can someone help me figure out what is wrong with my code? Not even
sure if editing an existing default excel group is possible.

Code:
 <ribbon
   <tabs
     <tab idMso="TabHome" 
       <group idMso="GroupEditingExcel" 
         <button id="RunRpt" label="Run Report" size="normal"
 onAction="MacroRpt" imageMso="Calculator" /
       </group
     </tab
   </tabs
 </ribbon

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Add custom button to existing group Excel 2007

Thanks Ron! So I guess I have to hide a group and then re-create it
with the desired changes? Doesn't seem that difficult. Thanks!

On Jan 4, 1:57*pm, "Ron de Bruin" wrote:
See this page Vireshhttp://www.rondebruin.nl/xmlribbongroups.htm

--

Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm

"Viresh Parmar" wrote in ...
My employer just recently converted to Excel 2007. I'm trying to
figure out how to customize the ribbon for a few add-ins I use. I'm
using Custom UI Editor to run the XMLs to edit the ribbon.


There is one piece that I'm having trouble with - how to add icons/
buttons to an existing group. For example, I want to add 'Run Report'
button to Editing group. I use the code below, but it doesn't work.
Can someone help me figure out what is wrong with my code? Not even
sure if editing an existing default excel group is possible.


Code:
  <ribbon
  * <tabs
  * * <tab idMso="TabHome" 
  * * * <group idMso="GroupEditingExcel" 
  * * * * <button id="RunRpt" label="Run Report" size="normal"
  onAction="MacroRpt" imageMso="Calculator" /
  * * * </group
  * * </tab
  * </tabs
  </ribbon
 

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Add custom button to existing group Excel 2007

Correct

The example xml is on my page

--

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


"Viresh Parmar" wrote in message ...
Thanks Ron! So I guess I have to hide a group and then re-create it
with the desired changes? Doesn't seem that difficult. Thanks!

On Jan 4, 1:57 pm, "Ron de Bruin" wrote:
See this page Vireshhttp://www.rondebruin.nl/xmlribbongroups.htm

--

Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm

"Viresh Parmar" wrote in ...
My employer just recently converted to Excel 2007. I'm trying to
figure out how to customize the ribbon for a few add-ins I use. I'm
using Custom UI Editor to run the XMLs to edit the ribbon.


There is one piece that I'm having trouble with - how to add icons/
buttons to an existing group. For example, I want to add 'Run Report'
button to Editing group. I use the code below, but it doesn't work.
Can someone help me figure out what is wrong with my code? Not even
sure if editing an existing default excel group is possible.


Code:
  <ribbon
  <tabs
  <tab idMso="TabHome" 
  <group idMso="GroupEditingExcel" 
  <button id="RunRpt" label="Run Report" size="normal"
  onAction="MacroRpt" imageMso="Calculator" /
  </group
  </tab
  </tabs
  </ribbon
 


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 Add-In to Custom Toolbar Button Microsoft Office 2007 britt_04 Excel Discussion (Misc queries) 1 October 13th 08 09:57 PM
2003 - 2007 custom macro and custom button restore. Scott Sornberger Excel Discussion (Misc queries) 11 May 23rd 08 02:41 PM
How do I show 2007 custom Button Images with transparent backgroun JeffreyW Excel Programming 0 December 9th 07 09:13 PM
In 2007 Add new Tool button to keep custom macros for Workbook Joe Excel Discussion (Misc queries) 1 December 7th 07 02:06 PM
Can I make a custom button in Excel for the Group feature? Lisa Excel Worksheet Functions 1 December 20th 04 09:34 PM


All times are GMT +1. The time now is 06:44 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"