Consulting

Results 1 to 5 of 5

Thread: Hide "Superscript" button label in Ribbon

  1. #1

    Hide "Superscript" button label in Ribbon

    Hello,

    I'm trying to only show the Superscript button on the Ribbon, but the label is displayed as well. I tried adding label = " " to no avail.

    The entry in the ribbon code is

    <toggleButton idMso="Superscript" visible="true"/>

    Thanks in advance for your help!

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,043
    Location
    Where are you finding the Superscript toggle button in the ribbon?
    If you are ADDING it to the ribbon the XML is
    <control idMso="Superscript" showLabel="false" />
    Last edited by John Wilson; 01-12-2022 at 09:37 AM.
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    I placed the button in a group (using the code snippet using Office RibbonX editor. I found the ID looking at the commands available through the customize ribbon option in Powerpoint.

  4. #4
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,043
    Location
    Assuming you set up a 2010 custonpart

    The code I used was

    codexml.jpg

    ribbon.png
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  5. #5
    Tweaked it a bit based on your code and it worked. I omitted the imageMso.
    It's odd that this is happening since what I read in other posts is that with <button idMSO="Superscript" visible="true"> it should be enough to work.

    Thanks a million John!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •