Results 1 to 3 of 3

Thread: Menu containing galleries and menu separators

  1. #1

    Menu containing galleries and menu separators

    Register for a FREE account, and/
    or Log in to avoid these ads!

    I'm trying to create a menu element that works like the Column or Line selections in Excel's "Insert" tab where a set of galleries or buttons are organized into sub-categories with headers above each category, but I have been unable to make it work.

    When I use the Menu element, I can add a MenuSeparator that creates the category headings, but if I then try to add a gallery under the separator, it shows up to the right of the menu (like a sub-menu) rather than under the separator.

    Is there any way to organize galleries within a Menu like Excel does throughout its Ribbon?


  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Nanaimo, BC, Canada
    Blog Entries
    Excel Version
    Excel Office 365 Insider
    Hi there, and welcome to the forum,

    I've modified one of the examples from the RibbonX book, and the result I'm getting is exactly what you're seeing.

    Click image for larger version. 

Name:	11-28-2011 11-24-31 PM.jpg 
Views:	336 
Size:	42.4 KB 
ID:	369

    If I recall correctly on this, this is one of the aspects that MS could do that we can't. One of my co-authors wrote this chapter of the book though, so I'll ping him and see if I'm off base on that.

    (Sample file is attached, just so I don't have to re-create it later.)
    Attached Files Attached Files
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: -||- Blog: -||- Forums:
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  3. #3
    Thanks for the fast reply, Ken. Interestingly Excel uses that formatting all over the place in their Ribbons, but that would at least explain why I haven't been able to make that work.

    I look forward to hearing from your co-author. Your book has been extremely helpful, by the way!

Posting Permissions

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