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

How to create hierarchy key options in Excel

I'm new to Excel add-in. I searched for hierarchy options but failed to find anything. My questions are: Can we create this type of hierarchy in the office js? Can we disable the items based on some condition? Can anyone guide on me this?
2
votes
1 answer

How to retrieve a comment object from an Excel cell in C#

I have always used Range.Comment and Range.SpecialCells to retrieve comments inside Excel sheets however it seems it doesn't work anymore. It looks like every online solution I could read uses Range.Comment just like me so I have set up a…
Cedt
  • 251
  • 1
  • 14
2
votes
1 answer

when creating appointment meet addin not display in outlook

is there any way to show addin in appointment section or is it even possible or not?
2
votes
2 answers

How can I implement CallBack Methods in the Ribbon of my Outlook AddIn?

For an university project I have to implement an Outlook AddIn with a customized Ribbon. In the Ribbon the User should have the possibility to switch the different functions of the AddIn on and off. Therefore I need CallBack Methods. Unfortunately…
Sophia
  • 63
  • 4
2
votes
1 answer

show/Hide Ribbon command in Officejs

Wanted to show/hide custom ribbon button using officejs in typescript. Tried getting element of custom ribbon button using jquery but not able to get the same since id getting random every time excel run. $("#id__1157").id.hide() Expected Result:…
2
votes
0 answers

Cannot repurpose Excel's ctrl+s event when i open an excel document from web

I open an excel document from web url with the code: Open with excel An empty excel book is opened successfully. According to scenario for my excel vsto project, the document has to be…
Thorux
  • 197
  • 1
  • 1
  • 11
2
votes
1 answer

How can we create a MS WORD Add-in ribbon uisng Open XML SDK for Office

In one VSTO project for MS WORD, I created a custom Office Ribbon - with a button - for WORD 2010-2016 using VS2017 - Update 1809 as follows. Question: How can I achieve exactly the same using Open XML SDK 2.5 for Office in a similar VS2017 - Open…
nam
  • 21,967
  • 37
  • 158
  • 332
2
votes
2 answers

Periodically getting VBA break mode error messages when loading ribbon controls on PowerPoint start up

I have created an add-in for PowerPoint which creates a grid of objects from a selection of objects that you select. The add-in uses a context-sensitive control in the ribbon so that the control is only available when one or more shapes are selected…
neilt17
  • 345
  • 4
  • 13
2
votes
0 answers

Excel VSTO addin, custom popup menu on right click using XML ribbon

In my VSTO addin, I pop a custom menu if someone right clicks a cell containing a valid bond CUSIP (finance industry jargon for a bond id). The method below accomplishes this using CommandBars. The question I have is how to accomplish the same…
tpascale
  • 2,516
  • 5
  • 25
  • 38
2
votes
1 answer

Excel CustomUI Ribbon Placement Next To Another CustomUI Ribbon Tab

I have two custom ribbons on excel, I can not combine them. I would like to make it so that one is always "before" or "after" the other custom tab. But I can't figure out how to program the XML to accomplish this.
repete90
  • 81
  • 4
2
votes
1 answer

Microsoft Word Add-in 2013/2016 -- Detect File Tab Visible

I am developing a word add-in in C#. In word 2013/2016, the file tab takes up the whole document window and covers the editable text area. I need to know when the editable text region becomes no longer visible because the file menu is…
2
votes
1 answer

"Run-time error '1004' Cannot edit a macro on a hidden workbook. Unhide the workbook using the Unhide command" When using "onLoad" in Ribbon XML

I have a feeling I'm using the "onLoad" callback incorrectly. Essentially what I'm trying to do is run some code in VBA immediately after my custom ribbon loads (which is located on an add-in I've created). This is the XML code:
Jon Rose
  • 129
  • 2
  • 8
2
votes
2 answers

Is it possible to store custom data in Microsoft documents?

Given Microsofts latest 'OpenXML' document versions, ie docx, xlsx etc is it possible to store your own custom data considering they just appear to be a compressed document? I've been looking at the latest RibbonX for excel and can see that you can…
cosmarchy
  • 686
  • 3
  • 9
  • 21
2
votes
1 answer

Custom ribbonx XML onAction makes it not load

I have an xlam file that I want to add a custom ribbonX buttons to. I use Custom UI Editor and with this xml it "works".
Andreas
  • 23,610
  • 6
  • 30
  • 62
2
votes
1 answer

How to set selected item on Custom DropDown Ribbon Control

I'm making a Custom Tab for Excel with Custom UI Editor and I have two DropDown controls in it. Let's call them DropDown1 and DropDown2. My goal is that whenever I change the DropDown1 selection it automatically changes de DropDown2 selection, but I…
1
2
3
24 25