How do I add a simple ribbon bar to Excel?

Add-in Express™ Support Service
That's what is more important than anything else

How do I add a simple ribbon bar to Excel?
 
Jason Rodman




Posts: 33
Joined: 2016-11-01
Maybe I missed a step by for the life of me I cant get this working. I have a XLL addin with some UDFs that I want to also have a ribbon far for. I added COM module to the same project and started added a ribbon tab to it with a single group and two buttons. When I run the project they do not appear in excel. Your documentation is impossible to find a simple example of how to do this, so what am I missing? Is there somewhere I need to wire something up to get this to load?
Posted 19 Apr, 2017 16:59:24 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hello Jason,

You need to register the project once again: a COM add-in requires creating registry keys of its own.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 20 Apr, 2017 05:23:59 Top
Jason Rodman




Posts: 33
Joined: 2016-11-01
It turned out I needed to turn back on the ComVisible attribute on the assembly and re-register it. I had turned it off when it was just an XLL since COM was not necessary for it to function.
Posted 20 Apr, 2017 08:53:26 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Thank you for posting this!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Apr, 2017 07:03:29 Top