Questions tagged [ribbonx]

RibbonX (Ribbon XML) brings Office programming into the modern age with XML-based UI declaration. Instead of writing complicated code that builds up the UI using a series of object model calls, you can create an XML file that specifies the appearance of the UI in a structured markup form. This has numerous advantages for the add-in writer.

RibbonX (Ribbon XML) brings Office programming into the modern age with XML-based UI declaration. Instead of writing complicated code that builds up the UI using a series of object model calls, you can create an XML file that specifies the appearance of the UI in a structured markup form. This has numerous advantages for the add-in writer.

Resources

362 questions
114
votes
8 answers

How to add a custom Ribbon tab using VBA?

I am looking for a way to add a custom tab in the Excel ribbon which would carry a few buttons. I chanced on some resources addressing it via Google but all look dodgy and outrageously complicated. What is a quick and simple way to do that ? I'd…
BuZz
  • 16,318
  • 31
  • 86
  • 141
10
votes
1 answer

Add tooltip to Excel Add-in Custom Ribbon UI XML

I am creating an Excel Add-In that has a custom Ribbon UI. I would like to add a tooltip for my buttons. What XML attributes can I use to set this?
9
votes
1 answer

Get the IDs of all the controls of Office 2010 ribbon and interact with ribbon shortcut from custom Add-ins

I want to get all the controls list in the powerpoint 2010 ribbon like the one in the powerpoint option -> customize ribbon-> all commands. Furthermore, I want to interact with ribbon shortcut from custom Add-ins
Rokr_13
  • 95
  • 1
  • 1
  • 6
5
votes
1 answer

Excel VBA Ribbon getEnabled not called when code running

I have an Excel VBA macro that runs for a long time (potentially for days, it performs data acquisition). It was originally written for Excel 2003 and has custom toolbars and menus. I recently updated it to use a ribbon interface using RibbonXML.…
bodgesoc
  • 191
  • 9
5
votes
1 answer

Customizing the PowerPoint Ribbon at Run-Time

I am developing a PowerPoint add-in and would like to temporarily disable some of the Ribbon controls while the add-in application is running. I have developed a solution that works as expected when the Add-In is enabled, but this is not really…
David Zemens
  • 53,033
  • 11
  • 81
  • 130
4
votes
3 answers

Is there a Collection of icons used for imageMso?

I started to write an add-in for searching and viewing built in icons/images (imageMso) for the Office Fluent ribbon to find something suitable to add to new buttons. Yes, I know there are many out there, but I haven't found any particularly useful…
Josh
  • 236
  • 1
  • 2
  • 12
4
votes
1 answer

Python Build Script for VBA Add-In file

I have written a python script that will serve as a "build script" for a macro-enabled PowerPoint file that I am supporting. The script creates a new, empty PowerPoint presentation, imports all of the VBA modules, saves the file and converts it to…
David Zemens
  • 53,033
  • 11
  • 81
  • 130
3
votes
1 answer

Could not find type 'Microsoft.Office.Tools.Ribbon.RibbonTab' error prevents designer from opening

I have a VSTO for Excel project with a custom ribbon tab. The solution builds without errors. I can run the solution. It launches Excel and displays the custom ribbon tab and task pane without any issue. When I try to open the designer for the…
Doug Kimzey
  • 1,019
  • 2
  • 17
  • 32
3
votes
1 answer

RibbonXml togglebutton OnAction not finding callback function

I have a peculiar problem happening, which I haven't been able to solve despite hours of googling & tinkering.
FrugalTPH
  • 533
  • 2
  • 6
  • 25
3
votes
1 answer

How can I get all Excel ribbons tab ids and labels?

I am working on an Excel add-in tool with a custom ribbon implementation. For this I need to find existing Excel ribbon tab ids and labels in Excel. How can I do this in C#?
Rohit
  • 31
  • 1
3
votes
1 answer

How to make a toolbar button with caption below icon using VBA?

What's missing in the following code, for the .Caption gets bellow and the icon on the top? Sub SoundLogToolbar() Dim cb As CommandBar Dim de As CommandBar Dim but As CommandBarButton Dim picPicture As IPictureDisp On Error…
aF.
  • 64,980
  • 43
  • 135
  • 198
3
votes
1 answer

Create Excel 2007 Ribbon without Custom UI Editor

Can anyone tell me if it's possible to create a custom ribbon in Excel 2007, without using the 'Custom UI Editor' software? With the Editor it's really easy but where I work we can't download external software. Is there any other way to do it like…
Eddie
  • 611
  • 3
  • 13
  • 23
3
votes
2 answers

Hide add-in tabs from MS Office ribbon (esp. PowerPivot tab)

I'm modifying the ribbons of an Excel file, hiding all default and context tabs but only show my own tab. However, once any add-in with its own tab(s) is installed, these tabs are still displayed, as I do not know how to address them. I know you can…
Peter Albert
  • 16,917
  • 5
  • 64
  • 88
3
votes
1 answer

How can my Outlook add-in get the Attachment object the user is right-clicking in my custom menu?

I want to get currently selected embedded Attachment object when right-clicking on it in context menu and clicking on custom button. These are the steps I have done so far: Added custom Button for ContextMenuInlinePicture ribbon context…
nihique
  • 5,738
  • 2
  • 25
  • 27
3
votes
1 answer

How to use VBA to read text entered in an editBox on a custom Ribbon tab?

I have added a tab to the Ribbon in MS Project 2010 using the SetCustomUI VBA method as detailed here: http://msdn.microsoft.com/en-us/library/ee767705. The tab XML loads fine and the layout is set up properly. The problem is when executing the VBA…
Jeremy
  • 145
  • 1
  • 3
  • 9
1
2 3
24 25