How can I add the Text Highlight Color control to a custom xml ribbon in PowerPoint?

158 Views Asked by At

I'm building a custom ribbon in PowerPoint and would like to include the Text Highlight Color Picker control on it. I've found an idMso called TextHighlightColorPicker, but it's not recognised by PowerPoint so I just get an error when I open it.

<control idMso="TextHighlightColorPicker" size="large" label=" " />

I've tried various other idMso with the word 'highlight' in but to no avail. I imagine it's simply not available for custom ribbons, but I thought I check to see if anyone knows, because it's seems strange that most of the other buttons are available but not that one.

Thanks in advance!

2

There are 2 best solutions below

1
kwibbler On BEST ANSWER

I eventually found the idMso as per the instructions in Eugene Astafiev's answer, it turns out it is only avaiable in subscription versions. The id is "TextHighlightColorPickerLicense".

3
Eugene Astafiev On

There is no such command available in PowerPoint 2016. You can find the list of commands available if you navigate to the Customize Ribbon on PowerPoint settings dialog:

customize ribbon

Here you can find the list of all available controls. And if you hover the mouse over any entry you may find the idMso value which can be used in the code for building a custom UI.