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

Combine multiple Outlook Addins under a single Ribbon UI

I am developing 2 seperate Outlook Addins using the VSTO project type in Visual Studio 2022 (C# .Net 4.7.2) and wish them to appear under the same Ribbon UI. Is this possible at all? From the reading I've done I'm not sure it is.
AwkwardCoder
  • 24,893
  • 27
  • 82
  • 152
0
votes
2 answers

Excel Error when using button made from Custom UI Editor- Cannot run the macro "***". The macros may not be available in this workbook or all macros

I built a series of macros, all of which have worked with the custom ribbon I built using the Custom UI Editor. I added one more macro and updated my Ribbon with a new button. I test the macro first and it works when run from the developer tab or…
Erik Otterholt
  • 65
  • 2
  • 10
0
votes
1 answer

Use Outlook ribbon button name as string in a macro

I'm trying to get the name of a clicked button on the "Developer" Tab on the ribbon to use as a string in a macro in Outlook version 2212 with M365. Sub ButtonNameDisplay() Dim ButtonText As String ButtonText =…
Ayan Mullick
  • 67
  • 2
  • 11
  • 38
0
votes
1 answer

Turn selected cells red via custom ribbon button

I am following How to add a custom Ribbon tab using VBA?. I am attempting by pressing a button in the ribbon named "Leave" to turn all selected cells red. I created a custom ribbon button using Office RibbonX Editor to the file, and get the pop up…
0
votes
1 answer

Add Custom Tab in office 365 web Word project

I am trying add a custom tab in office 365 Word in the ribbon. There are countless examples of how to do this in VSTO that I can find, but no code example of this in Office 365 AddIn web project. Closest thing I found is this documentation below.…
strider
  • 2,157
  • 5
  • 30
  • 38
0
votes
2 answers

Custom Ribbon working but needs some tuning

I had a problem that starting Excel from Python whacks the Custom ribbon. I eventually got code that does the job. Starting Excel from Python does not whack the Custom ribbon anymore. With complements of losing the state of the global IRibbonUI…
0
votes
1 answer

RibbonX - using comboBox to run macro / VBA

I am new to custom menus but have been successful at using Ribbon X to set up some custom tabs / groups in Excel. They are ribbon buttons that run macros (fairly basic stuff like hiding columns). What I really want to do is to have a ribbon comboBox…
Graham
  • 3
  • 2
0
votes
0 answers

Starting Excel workbook from Python deletes Custom ribbon

I have a custom ribbon in Excel with macros assigned to it. One set of macros does just sheet/column formatting, sort data etc. Normal Excel stuff. Those all works. Then I have two specific macros that removes the custom ribbon completely when they…
0
votes
2 answers

Enable/Disable Ribbon Control On Selection Change Of Mail Item

I am developing outlook add-in in C#. In Project1, I am having class which adds controls like below : internal class ExplorerRibbonUi : MainRibbonUi { public ExplorerRibbonUi(Func manifestLoader) : …
Smit Rathod
  • 101
  • 6
0
votes
1 answer

Toggle buttons that control visibility of other groups and controls

I am trying to include toggle buttons (4) that will toggle groups visible or invisible through tags while also making the other toggle buttons invisible. The reset will make all groups invisible, except for toggle group The code works without…
0
votes
2 answers

VSTO Outlook 2016 using IRibbonExtensibility and dynamicMenu: Custom DropDown Menu does not open in certain cases

In our VSTO Outlook AddIn we have a DropDownMenu that does not open on the devices of two customers. Both use Outlook 2016 32-Bit. They have been reporting this for a few months now. Before they had not experienced this problem. When the customers…
Lord Tasci
  • 21
  • 4
0
votes
1 answer

Word VSTO Add-In C#: Why can't I move my add-in's tab?

I've developed 4 Word VSTO add-ins. Each manifests itself as a tab on the Word ribbon. I'm trying to position the Ribbon tab for each of the 4 to be to the left of the built-in Help tab. Other than that my 4 tabs appear to the right (after) the…
VA systems engineer
  • 2,856
  • 2
  • 14
  • 38
0
votes
2 answers

VSTO Excel: separate ribbons for different add-ins

I have two independent VSTO Excel Add-ins projects (Excel 365), each of them create a new Excel ribbon, let's say "Project 1" and "Project 2". In each project I give unique name to ribbon and also tab on the ribbon. However, when I install both of…
Alex S.
  • 974
  • 1
  • 13
  • 18
0
votes
1 answer

how can we add SVG icons to create the ribbon

Can we add SVG icons instead of PNG icons using custom UI Editor? if not then how can we add SVG icons in Visual Studio (I'm using VB NET language to create the ribbon) I tried adding the SVG icon in custom UI editor but it gives me the prompt…
0
votes
1 answer

Enable/Disable ribbon button in Access based on global variable in VBA

I'm developing an app for a client in MS Access using VBA. I'm new to the Ribbon but I do understand how to enable/disable buttons based on when a form is opened. My challenge now is enabling a button (Open Document) when node is clicked in a list…
Kwixster
  • 51
  • 8