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

Outlook Ribbon on Click Event not working

I have a simple Outlook Ribon button I am trying to create to forward a selected email to a set address. The probelm is when I click the button, it is not runing the code. I tried adding several break points and they never happen, even on the If…
Brandon
  • 3
  • 1
0
votes
1 answer

Use custom icons in the ribbon of my PowerPoint VBA add-in that look consistent

I've recently built an PowerPoint VBA add-in and made a custom ribbon with XML. I want to use custom made icons. I know how to insert a custom icon in the XML. But for the life of me I cant figure out which dimensions custom icons I need (16x16,…
0
votes
2 answers

Microsoft Excel Ribbon Cannot run callback macro

I've written many VBA macros over the use but this my first foray into modifying the ribbon with XML and running a macro with ribbon callback. I have followed the instructions for a simple example on Ron de Bruin's webpage precisely, but when I…
0
votes
1 answer

Manifest file doesn't conform to the schema. This is an invalid xsi:type 'http://schemas.microsoft.com/office/mailappversionoverrides:FocusedInboxTab'

I've built a Outlook add-in for new email. When I'm trying to make it available for inbox, its saying the error.
0
votes
1 answer

Word Backstage Customisation - Office 2021 changes

With Office 2021 Microsoft have added the control on the Info tab shown in screenshot below of and we need to disable or hide it if the document is part of the clinical application (we only intervene on documents that are part of the application -…
0
votes
2 answers

Addin custom ribbon tab but visible only for intended workbooks

I created an addin for Excel I need to access in certain workbooks, which I can identify by some criteria. There is a ribbon tab that makes access easy. When I (or other users) open a new workbook or a workbook that doesn't fulfill the criteria, the…
JoMo
  • 1
  • 1
0
votes
1 answer

Outlook single line ribbon (officeSL)

I am writing an Outlook add-in with its own button in the ribbon bar. I am using C# and for customizing the ribbon XML. My goal is to always show the button in Outlook 2021 with single line ribbon layout, no matter how wide the window is. As a test,…
maymar
  • 1
  • 3
0
votes
1 answer

Is it possible to include existing excel functions in a custom ribbon?

Within an Office Excel JavaScript Add in, I created a custom ribbon. Within that custom ribbon, I would like to include custom excel functions (e.g., remove duplicates). Is it possible, to include such functions? If yes, what does an exemplary XAML…
0
votes
1 answer

Link an Excel VBA macro with an Excel ribbon button made with VSTO Visual Studio

I want to create a custom ribbon Excel application for multiple users. However, I am restricted to using the VSTO package of Visual Studio. I cannot use the RibbonX Editor application nor the Custom UI Editor Application (Company Policy). I have an…
0
votes
1 answer

Add ribbon button for Outlook addin in calender-view

Is it possible to add a ribbon button in calender-view for Outlook when an appoinment is selected? Creating a addin with javascript (yo generated)Like the Teams addin does Button in calendar I have search but couldn't find any example of this. Right…
0
votes
1 answer

How to change getVisible in Ribbon XML if an event happens in thisAddin.cs

So, I've written a Word VSTO Add-in that won't let some users save, print, or change the document based on the document and the user's privileges (I have used DocumentOpen, DocumentBeforePrint, and DocumentBeforeSave Events). The Add-in works…
0
votes
1 answer

Outlook VSTO - moving my group next to "New Mail" group

I have made an addin (New Flux Ad Mail) for Outlook and would like to move it's position next to the "New" group - see picture. Currently, I have this in my xml:
wads
  • 123
  • 11
0
votes
1 answer

How can I subscribe to an Open event of a Word Backstage using a Ribbon (Visual Designer) object?

I want to add a button to the Word Backstage. That button is supposed to be enabled/disabled only when one or more Word documents are open in Word. Is there some event I can use to set the state of my Backstage controls the moment the Backstage is…
AxD
  • 2,714
  • 3
  • 31
  • 53
0
votes
1 answer

control icon on ribbon fails to show for Office Addin for Excel instead it shows default icon

I am working on office addin where I have added a control on a custom tab. but the control does not show the Icon image specified instead it shows default icon. So how can we show the icon specified for each control in ribbon ? Reffered link:…
0
votes
2 answers

How to refresh whole ribbon (not just control)?

I have an VSTO Office/Outlook add-in and ribbon that I want to reload at some point. Unfortunatelly ribbon.invalidate is not something that suits my case, because it just re-fires getLabel etc. methods, while I need to rebuild whole ribbon/group. I…
buks
  • 405
  • 1
  • 6
  • 21