View Full Version : [SOLVED] Can I get rid of the labels of Cut/Copy/Paste on my self-created ribbon?

06-10-2015, 12:08 PM

I hope, this is just a little one - but I have no idea.

I am creating my personal ribbon. It is going to be a mix of original MS-Office-tools and VBA-macros I created for PowerPoint on my own. Goal is to have nearly all necessary tools for my work on one ribbon. As there are quite a lot of helpful tools, I want to save space. But after inserting Cut/Copy/Paste, I had to find out, that they are always displayed with their labels. Is there a way to get rid of these Labels? The icons are enough for me.

This is my code:

customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tab id="MixedTab" label="Mixed">
<group id="MyOwnClipboard" label="Clipboard">
<button idMso="Cut" enabled="true"/>
<button idMso="Copy" enabled="true"/>
<splitButton idMso="PasteMenu" enabled="true"/>

And this is the result. (It's German. But the labels say: Cut, Copy, Paste. :-))


Any ideas? Thanks so much!

Andy Pope
06-11-2015, 03:26 AM

<button idMso="Copy" enabled="true" showLabel="false"/>

06-11-2015, 03:40 AM
Thank you, Andy - this is it!

07-24-2015, 02:23 AM
To learn about showLabel="False" was great, but in the meantime I found out, there are some tools not reacting on it, e.g., ShapeOutlineColorPicker or TextAlignGallery. Is there another way to get rid of the labels?

Bob Phillips
07-29-2015, 08:13 AM
Doesn't look like it. I thought about setting label to "", but label is not a valid attribute for those controls.

Andy Pope
07-31-2015, 06:24 AM
Best you can do is set the caption to space,

label=" "/>

08-06-2015, 04:53 AM
Nice workaround, thank you!