project ribbon
1 TopicAdding a ComboBox to a MS Project Ribbon
Currently, I am using Project 2019. I created a custom ribbon using VBA code that creates an XML string and is activated using the following code: ActiveProject.SetCustomUI (ribbonXml) I tried to add a ComboBox to the ribbon using the following code: ribbonXml = ribbonXml + " <mso:group id=""grpLabel"" label=""Quick Labels"" autoScale=""true"">" ribbonXml = ribbonXml + " <comboBox id=""cboLabels"" label=""Labels"" onChange=""TestRibbon"">" ribbonXml = ribbonXml + " <item id=""lblAdd"" label=""Add"" />" ribbonXml = ribbonXml + " <item id=""lblDel"" label=""Delete"" />" ribbonXml = ribbonXml + " <item id=""lblChg"" label=""Change"" />" ribbonXml = ribbonXml + " </comboBox>" ribbonXml = ribbonXml + " </mso:group>" The ribbon works fine before adding this code. Once this code is added, the ribbon fails to load. I thought adding the onAction property was causing this but that did not change anything. The code above was just to get the combo box to appear. I would add the rest of the properties later. What am I doing wrong? Is Microsoft going to do anything to make this easier? Creating custom UIs should not be this hard to do. Thank you in advance!2.3KViews0likes6Comments