Very Basic Question about a ComboBox in a Ribbon

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

Very Basic Question about a ComboBox in a Ribbon
 
Rafael Castañeda




Posts: 36
Joined: 2010-04-05
Hi I have succesfuly built my first Addin for Excel, I have created a set of UDF´s that retrieve data from an .mdb database, now I want to add some automatization to the data extraction, I placed a ComboBox in a Office 2007 Ribbon but I can not add items programaticaly as in the command bar combobox.

This works perfectly on the CommandBarComboBox
AdxCommandBarComboBox1.Items.Add("Text")

But this, does not work

AdxRibbonComboBox1.Items.Add("Text")

Thanks in advace
Posted 05 Apr, 2010 14:52:28 Top
Andrei Smolin


Add-in Express team


Posts: 16176
Joined: 2006-05-11
Hi Rafael,

Ribbon controls are mostly static; this is by Ribbon design.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 06 Apr, 2010 10:24:07 Top
Rafael Castañeda




Posts: 36
Joined: 2010-04-05
Thanks for your reply Andrei
Posted 06 Apr, 2010 11:46:44 Top