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

How do I recreate this Microsoft Word button in VSTO C#?

I need to recreate this Microsoft Word button in VSTO C# color button I have tried all I know, like using menus, galleries and dropdowns but they don't give me the flexibility and functionalities to replicate the same button. Surely there must be a…
dsa
  • 11
  • 2
1
vote
1 answer

Ribbon X changes via XML - disabling an addIn

I want to hide the "Power Pivot" menu item for a specific document. (the reason - When I sent it out, I don't want users to have the ability to go into "manage measures...") I know how to use the customUI14.xml to hide menu items such as home,…
GoofyMan
  • 31
  • 3
1
vote
1 answer

How to show or hide the QAT (Quick Access Toolbar) in vba?

My problem that i d'ont know how to show or hide the QAT Quick Access Toolbar in word with vba Hello, Is it possible to show or hide the QAT Quick Access Toolbar in vba? With the code Application.CommandBars.ExecuteMso ("MinimizeRibbon") I can hide…
Bdadoo57
  • 11
  • 2
1
vote
1 answer

Icons for Dark and Light Mode

Is there support with outlook add-in's having different icons for light and dark modes? I looked through the documentation and don't see a way to specify the icon based off light and dark mode.
deggen
  • 33
  • 3
1
vote
2 answers

How can I add the Text Highlight Color control to a custom xml ribbon in PowerPoint?

I'm building a custom ribbon in PowerPoint and would like to include the Text Highlight Color Picker control on it. I've found an idMso called TextHighlightColorPicker, but it's not recognised by PowerPoint so I just get an error when I open…
1
vote
1 answer

How do I change a tooltip at runtime?

The tooltip of a ribbon button is set in the manifest.xml file, which is a static file, but is it somehow possible to change the text in the tooltip of a command button in the ribbon at runtime?
1
vote
1 answer

Load a unique custom ribbon automatic per Excel spreadsheet on startup

I have various spreadsheets in different dirs that all needs to load their own custom ribbons on start-up. All of these xls sheets have the same basic custom ribbon structure/icons/group names/macros/etc except some of the macros in the spreadsheets…
1
vote
1 answer

MS Word lock/unlock Quick Access Toolbar button with VBA

I have two buttons which I've added to the Quick Access Toolbar (QAT) in MS Word, both of which are linked to macros written in a module. I want the second button to be greyed out (or locked) until the first one has successfully run, at which point…
Braide
  • 155
  • 3
  • 3
  • 13
1
vote
1 answer

Excel Custom UI Addin Resets Quick Access Toolbar

I created an add-in with a custom UI to add a tab and buttons for the macros. A problem has cropped up on some users' computers where the Quick Access toolbar gets reset every time they open Excel. Mine reset the first time, but it's held on to…
Dave
  • 35
  • 6
1
vote
0 answers

Office Add-ins manifest Dynamic Ribbon Sign-in Icon stop working after opening multiple Excel office

We have develop Dynamic Ribbon Add-ins Manifest xml file with Sign-in and Sign-out icon by using Office.js library (https://learn.microsoft.com/en-us/office/dev/add-ins/design/disable-add-in-commands). After uploading manifest file from Office…
1
vote
1 answer

Outlook Add-In VSTO - Hook into click of existing button

I'm currently trying to develop an Outlook Add-In that extends an already existing function. To get it work, I need to hook into the On-Click-Event of an existing button (I have the IdMso of it), and execute additional code. Is that possible, and if…
saltemohn
  • 39
  • 4
1
vote
1 answer

Need Example in C#: How To Add Custom Button to Outlook Context Menu

My customer wants to add a button (or menu item) to a right click (context) menu in Outlook 2016+. I've found examples that add items to the ribbon menu, but can't find any examples for the context menu. My customer describes the activity as…
1
vote
1 answer

Outlook custom add in change icon

Im creating a custom add in using the yo office command. I just want to know how i can change the icon on the outlook mail app. Ive. try everything but nothing works. Image Here
1
vote
1 answer

Excel 365: RibbonX command to "Show Quick Access Toolbar"

My Excel 365 VBA application adds Undo and Redo to QAT by RibbonX: Recently…
reinht
  • 11
  • 1
1
vote
1 answer

How Can I save Ribbon Settings made in the Outlook Explorer Window and also display und use them in the Outlook MailItem Window?

For my Outlook Add-In I created a Ribbon with XML and several OnAction Methods. My Ribbon has Toggle Buttons which enalbe several functions when being activated. My Problem is that If the User clicks the Button in the Ribbon of the Explorer Window…
Sophia
  • 63
  • 4