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
2 answers

Microsoft Word: How can I listen to a document-level event (protect/unprotect) to update a ribbon toggle button?

The PHB wants me to create a ribbon toggle button for Microsoft Word that: when pressed, restricts editing to filling in forms and protects the document without a password. when unpressed, unprotects the document (without a password). I have the…
Homer
  • 188
  • 1
  • 8
1
vote
1 answer

MS Word and RibbonX error (Wrong number of arguments ...)

I am trying to add an extra tab to the Word ribbon and have a couple buttons to invoke my own macros. I did the same thing with Excel and it worked fine. For some reason I can't get it to work in Word. I am using the Custom UI Editor. Here's the…
PBD10017
  • 1,031
  • 2
  • 14
  • 22
1
vote
1 answer

Excel 2013 ribbonx xml: CustomUI works fine but resulting button refuses to run my macro

Using the customUI tool to add a tab to an Excel 2013 xlsm workbook. Am running Windows 7. CustomUI gives me the green light ("Custom UI XML is well formed!"), and generates callback code. The new tab, new group and new button appears when I open…
1
vote
1 answer

Excel 2007 Ribbon

I have a simple Ribbon with a few groups in it. I need to modify this ribbon through VBA to toggle visibility on the groups that I have in the Ribbon. Let's say Range("A1") has "A" as the cell value; then this group would be visible. If it's empty…
1
vote
2 answers

How to define size of a button in Excel 2013 using customUI editor

I am trying to create a new ribbon with 2 buttons in Excel 2013. I was able to create it using Custom UI editor thanks to Excel CustomUI ribbon layout and How to add a custom Ribbon tab using VBA? When I input the code as
1
vote
0 answers

Defining defferent views for the same ribbon in different documents

I have one A.dotm file containing macros performing MailMerge operations on several .doc files. This way I get different result documents depanding on the source document before merging. Afterwards the occuring merged documents have or don't have…
Theo Köster
  • 51
  • 1
  • 7
1
vote
0 answers

embed config file in excel xlsm

I was wondering if anyone has embedded a small config (csv essentially) file inside an xlsm and read from/written to it to save settings. Currently I use an external config file and Windows ini API function to access the info. I've been looking on…
1
vote
0 answers

Customize Calendar Appointment Preview (popout) in Outlook 2013 with c#

Is there any way to customize (or replace) the box that displays details of a particular appoint as you scroll over it in the Calendar Explorer of Outlook 2013. I am trying to display one of the additional custom properties (formatted) to give a…
Craig D
  • 487
  • 1
  • 5
  • 17
1
vote
1 answer

Outlook 2010 Context Menu For Embedded Attachments - idMso?

I am working on Otlook 2010 add-in and currently customizing Ribbon UI. So far so good, but I have one problem with customizing context menu for embedded objects in mails. I have tried many idMso context menus, but none of them is working. Do anyone…
nihique
  • 5,738
  • 2
  • 25
  • 27
1
vote
2 answers

VSTO Word Add-In : Content Control Nesting

I'm building an MS-Word Add-In for the company where I'm doing my internship. I already created a new ribbon with lots of SplitButtons and Buttons. Now what i want to do is when you click one of the buttons a content control will ba added to the…
Glenn Collier
  • 11
  • 1
  • 2
0
votes
1 answer

Excel Add-In throws SHException

I have an excel addin, written in C#, .NET 35 SP1 using ExcelDNA, NetOffice Occasionally clients reported my add-in disappear from Excel, I check it is in disabled addin list, I enable it and it works again. I checked my log and saw SHException.…
toosensitive
  • 2,335
  • 7
  • 46
  • 88
0
votes
1 answer

How to add more than 1000 items to a ComboBox in RibbonX?

I made a custom ribbon in Word, that has a ComboBox. I want to populate that ComboBox with items, using a VBA macro. The problem is that seemingly the ComboBox can only hold 1000 items. When I try to put more than 1000 items, I only see an empty…
0
votes
1 answer

How to add a button to the inline "Message" ribbon in outlook?

I've successfully added a new button to the Message ribbon in Outlook for sending new messages or when using the pop out feature to reply to messages by creating a custom ribbon/button in C# in VS but can not for the life of me figure out how to get…
0
votes
3 answers

Hiding Command Bar Right Click Options Excel VBA

I am trying to hide most of the application.Commandbar options when a user right clicks. But im getting a debug error sometimes. Usually it works smoothly but sometimes it doesn't so I cant work out why the error only happens now and again. I…
ajr45
  • 7
  • 4
0
votes
1 answer

How to merge two ribbonui in excel by using c# with excel-dna package

I have two excel-addin project is wroted by C# with excel-dna package and the first add-in have a customui like follow:
SKYC
  • 33
  • 6