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
1
vote
1 answer

Ribbon XML: Custom Excel Tab Disappears with Addition of Menu

Heylo, I am having a rather frustrating issue with my custom Excel Tab. I currently have about 20 buttons that all do a variety of different things, and I would like to implement some menu's to declutter the tab a bit. I have an add-in with a bunch…
CBK
  • 660
  • 1
  • 7
  • 16
1
vote
1 answer

How to disable File button in MS-Word 2013?

I want to disable File button. For example, I have this code.
1
vote
1 answer

Word ribbon disabled in ole container when second word instance running or activated

I am using a Delphi app with an olecontainer to load a word document "OleContainer1.CreateObjectFromFile('c:\test\hello.docx', false);". The ribbon functions perfectly well in the opened document until I open a different word document or activate…
Mark Williams
  • 192
  • 2
  • 12
1
vote
1 answer

VSTO Ribbon: How can I make the text "Custom Toolbars" disappear from the left of the Ribbon?

I'm using VSTO with Visual Studio 2015 and testing the add-in in Excel 2010. On the left side of my ribbon, there's a text showing "Custom Toolbars". How can I get rid of this text? Solution: Thanks to @Cindy Meister insights, I went to the…
1
vote
2 answers

How to hide buttons from the Quick Access Toolbar?

I have a custom Ribbon which looks like this:
Camilo Terevinto
  • 31,141
  • 6
  • 88
  • 120
1
vote
1 answer

How to edit customUI (add context menu button) in office add-in

Hi I just created a office add-in to search acronym' meanings in an API. I need to allow the user to search it directly by the document selecting some text and right click on it and pressing a button on the context menu. I have tried creating a…
David
  • 614
  • 5
  • 20
1
vote
1 answer

Excel Ribbon Toggle Button not running onAction or getPressed callbacks

I have added a Toggle Button to a Ribbon via the Excel.CustomUI file, which is fine, but it won't actually trigger any callback functions. I've tried various combinations as given on the web, but cannot get any of the functions to run at all. I also…
NatHunter
  • 13
  • 3
1
vote
1 answer

How to open appointment item from ribbon button click

I need to open Outlook appointment item from ribbon button click. var item = control.Context as Inspector; AppointmentItem appointmentItem = item.CurrentItem as AppointmentItem; if (appointmentItem != null) { if…
Prateek
  • 335
  • 1
  • 2
  • 9
1
vote
1 answer

How to re-arrange group on Outlook Ribbon using vsto add-in

I have two groups, call them A and B, added to a ribbon in outlook. Each group has an id and a button or two inside. The A group uses the attribute 'insertAfterMso' to insert after the Show group (GroupShow) in the ribbon. I can use the…
Maderas
  • 231
  • 2
  • 14
1
vote
1 answer

Ribbon XML: Reusing UI Elements to Keep Code `DRY`

I am finding myself repeating a lot of XML when writing RibbonXML UIs. Take, for example, the following contextMenu Now, I also want the same…
JDR
  • 1,094
  • 1
  • 11
  • 31
1
vote
1 answer

Upgrading Excel 2010 add-in to office 2016

When upgrading to Office 365 / Excel 2016, I found that it was extremely slow to open, and even slower to close: Waiting 20-30 seconds to open to a blank workbook, and taking over a minute to close-down excel. My investigations showed that the…
ainwood
  • 992
  • 7
  • 17
1
vote
1 answer

How to display two controls aligned horizontally in a custom Ribbon XML

In a group of a custom tab of a Ribon XML of a custom VSTO WORD AddIn, I need to display an editBox aligned horizontally inline with a checkBox. How can I achieve that? Following displays both the controls aligned vertically one after the…
nam
  • 21,967
  • 37
  • 158
  • 332
1
vote
1 answer

Excel 2013 Invalidate Ribbon control not working

I'm trying invalidate a dropdown on my Custom UI Ribbon I created in Excel 2013. I basically want to be able to force the drop down to reload and trigger its load event. I have added the following "onLoad" to my XML code header:
wlfente
  • 133
  • 1
  • 10
1
vote
1 answer

Updating RibbonMenu

I'm trying to find a way to update a RibbonMenu's items (like a few RibbonButtons) when the RibbonMenu is clicked (i.e. something like a BeforeDropDown). I know I can update it with the event of another control, but how do it update it when it is…
Stan
  • 746
  • 1
  • 17
  • 35
1
vote
1 answer

One RibbonX for multiple Excel 2007 workbooks

I have an Excel 2003 VBA solution I'm converting to Excel 2007. The solution had a large collection of menus that were used between multiple workbooks. I've created RibbonX to replicate this functionality, but now I'm to the point where I want to…
Cj Anderson
  • 841
  • 3
  • 13
  • 20