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?

    Thanks!

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,195
    Articles
    57
    Blog Entries
    14
    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:	223 
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 (Excel)

    Master your data with Power Query: Purchase your copy of my book M is for Data Monkey today!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/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
  •