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

    PHP Code:
    <toggleButton idMso="Superscript" visible="true"/> 
    Thanks in advance for your help!
    Last edited by Aussiebear; 04-27-2023 at 03:40 PM. Reason: Added code tags

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    Where are you finding the Superscript toggle button in the ribbon?
    If you are ADDING it to the ribbon the XML is
    PHP Code:
    <control idMso="Superscript"  showLabel="false" /> 
    Last edited by Aussiebear; 04-27-2023 at 03:40 PM. Reason: Added code tags
    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,093
    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
  •