Simple Ribbon Example

Apr 14, 2014 at 8:34 PM
Hi,

I couldn't find a step-by-step instructions set to add a simple ribbon UI.
So far I have created a class that extends from ExcelDna.Integration.CustomUI.ExcelRibbon.
I implemented GetCustomUI and returned one of the example XMLs from http://msdn.microsoft.com/en-us/library/aa338202(office.12).aspx

I am pretty sure I am missing something because I don't see my GetCustomUI breakpoint being hit.

Thanks,
Sumeet
Coordinator
Apr 15, 2014 at 3:31 AM
Edited Apr 15, 2014 at 3:32 AM
Hi Sumeet,

Is your class marked public, and [ComVisible(true)] ?

Can you get the samples in Distribution\Samples to work?

-Govert
Apr 15, 2014 at 7:19 PM
Forgot to have [ComVisible(true)].
It works after that.
Thanks.