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
0
votes
2 answers

VBA when user clicks Send as Attachement

My company has an issue with Outlook when it is triggered to open by Excel that causes Outlook to hang indefinitely when loading (an issue which cannot be easily fixed). We have a few workbooks with custom ribbons where we now check that Outlook is…
Kyle Mac
  • 146
  • 6
0
votes
5 answers

Add standard command button "New Slide" to custom ribbon in office add-in

I have created my customized ribbon in an addIn. Now I would like to add the New Slide command that exist in home screen (see screenshot below).
test
  • 114
  • 13
0
votes
1 answer

How can we set the width of a dropdown in VSTO Ribbn XML

In my VSTO 2013 Add-In for Office 2010, I am using a dropdown in Ribbon XML. The default width of the dropdown is twice the width of the items in the dropdown. How can I reduce the width? I don't see any option in the Ribbon XML tags for the…
nam
  • 21,967
  • 37
  • 158
  • 332
0
votes
2 answers

How to create a context menu of ContextMenuListRange VSTO c#

I want to create a ContextMenuListRange in VSTO where I have already created one more xml for ContextMenuCell. If I add the List Range in one more tag, the Ribbon is saying "Object Reference not set to instance of an object. Here is the xml…
roopini n
  • 503
  • 2
  • 7
  • 29
0
votes
1 answer

Why is RibbonMenu nesting limited to 5 levels? And how can I override this?

In an Excel 2010 Addin we programmatically populate a multi-level RibbonMenu with items from a database. However, it seems impossible to display a RibbonMenu having more than five levels. (Some) Clients get a runtime exception stating that a maximum…
tvoigt
  • 1
0
votes
5 answers

Excel Custom Ribbon button calling subroutines for other ribbon buttons

If i set up a subroutine so that it can be called from a customer ribbon button is it still possible to call those subroutines from other subroutines? I'm getting the argument not optional error message but I'm not sure what argument to pass to the…
Dblock247
  • 6,167
  • 10
  • 44
  • 66
0
votes
1 answer

Dynamically disable custom (VBA) Excel context menu buttons?

The Scenario Hi guys, I am about to add a few custom controls to the cell context menu (not the ribbon) in my Excel workbook using the instructions found on this MSDN page. The only problem I am having is that I need the items to only be enabled for…
Ross Brasseaux
  • 3,879
  • 1
  • 28
  • 48
0
votes
1 answer

Excel 2010 custom ribbon visibility in .xlsm

I have an Excel 2010 workbook with a custom ribbon but the ribbon is only visible while I'm on that workbook not when I switch to a different workbook. Is there a way to change this and make it visible on all workbooks? I know I can save the…
Simon
  • 3
  • 1
0
votes
1 answer

Outlook 2013 add-in Ribbon XML how to execute some code every time an email is opened?

I've tried getEnabled and getVisible callbacks in Ribbon.xml file, but they are not called every time an email is opened. I've also tried subscribing to Outlook NewInspector event, but is executes only at the first time an email is opened. Is there…
0
votes
1 answer

How to know when your tab has been selected on an Office Ribbon

I have a plugin (excel 2013 VSTO 4.0 .NET 4.0 ) which has a custom Tab. In this tab I have a drop down control that has a lot of images being loaded. Currently these images are being loaded in the RibbonLoad Event. The downside of course is that my…
Rahul
  • 2,194
  • 4
  • 31
  • 46
0
votes
2 answers

Excel 2007 Ribbon splitbutton with submenu

I've got a simple split button in my Ribbon. And under it I have two buttons in the menu. It works well. Now I want to extend the first button -button id="rxBtn_CreateDataFiles" - into more options, and have another submenu extend to the right with…
0
votes
2 answers

Invalidate doesn't hide tabs

I am trying to push the limits of my understanding of the Fluent Ribbon/RibbonUI system in the Office 2007/2010 framework. Coupling that with my knowledge and understanding of XAML design for WPF/Silverlight, i wanted to see if i could dynamically…
GoldBishop
  • 2,820
  • 4
  • 47
  • 82
0
votes
1 answer

ribbon.InvalidateControl() does not work unless the Inspector is "Activated" again

I am using Ribbon XML and VS 2010 to build some custom button controls to Outlook 2010, but having some problem refreshing the state of the buttons. I created 2 buttons for idMso="TabReadMessage" (Reading email window/inspector). Ribbon XML code for…
ahlun
  • 458
  • 1
  • 6
  • 17
-1
votes
0 answers

idMSOs in PowerPoint?

I want to do something like the following in PowerPoint: Application.CommandBars.ExecuteMso ("PasteSourceFormatting") but, when I have a table selected, to run the "Layout" -> "Cell Margins" -> "Narrow" What is the idMSO / ExecuteMso tag with the…
El_T
  • 5
  • 4
-1
votes
1 answer

How to Programatically Enable Non XLSM/XLAM/COM Excel Addin?

A bit of context. I have 4 addins that I've created which are used internally on our team. They share a ribbon namespace so they can interact with each other on the custom ribbons. It works pretty well for my level of knowledge. They are XLAM…
Peter
  • 1