Consulting

Results 1 to 2 of 2

Thread: Shapes Panel (not just button)

  1. #1
    VBAX Contributor
    Joined
    Dec 2018
    Location
    South London
    Posts
    115
    Location

    Shapes Panel (not just button)

    Hi John and everyone

    On the default Home ribbon there's a shapes panel, that reveals many shapes - but when I use that tool when customizing a ribbon it becomes just a button (not wide panel of shapes).

    Is there any VBA so I can add this shapes panel to a ribbon? Maybe make it 4 buttons wide?

    Thank you.

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,093
    Location
    You don't use vba to add to the ribbon you need to code in XML

    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    <ribbon >
    <tabs >
    <tab id="NewTab1" label="Johns Tab" insertAfterMso="TabHome">
    <group id="NewGrp1" label="Shapes" >
    <control idMso="ShapesInsertGallery" size="large"/>
    </group>
    </tab>
    </tabs>
    </ribbon>
    </customUI>
    NewTab.pptx
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Tags for this Thread

Posting Permissions

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