+ Reply to Thread
Results 1 to 5 of 5

Ribbon - Multiple xlam adding into single Ribbon tab

  1. #1
    Registered User
    Join Date
    01-06-2011
    Location
    Paris
    MS-Off Ver
    Excel 07/10
    Posts
    5

    Ribbon - Multiple xlam adding into single Ribbon tab

    Hello,

    What I'm trying to do is have multiple xlam adding boutons, groups etc into a single tab.
    In the attached files, I set up a simple version of what I want.

    Each "Tester X" xlam should:
    - Add a Tester X button into TabTestGroup/GroupeGroupe (common tab TabTestGroup and common group GroupeGroupe)
    - Add an empty Tester X group into the commong tab TabTestGroup

    So the structure I should get would be :

    - tab "TabTestGroup"
    - group "GroupeGroupe'
    - button "Test 1"
    - button "Test 2"
    - group "GroupeTester1"
    - group "GroupeTester2"

    What happens instead is that the groups are actually duplicated, and two TabTestGroup appear in the ribbon instead of only one containing the subitems of each xlam.

    Any chance what I want is feasible?

    Thanks in advance !
    Attached Files Attached Files
    Last edited by gooopil; 05-08-2011 at 01:01 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Ribbon - Multiple xlam adding into single Ribbon tab

    Why have two addins?

    Have you used the CustomUI editor to check? It's generating sevral errors
    Last edited by royUK; 05-08-2011 at 01:28 PM.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    01-06-2011
    Location
    Paris
    MS-Off Ver
    Excel 07/10
    Posts
    5

    Re: Ribbon - Multiple xlam adding into single Ribbon tab

    I need to have some functions available only to some people. Some users are outsiders from my company, using our computers onsite, and I'd rather not have some "sensitive" functions (say financial stuff) included in the addins installed on these computers. That's the basic reason

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Ribbon - Multiple xlam adding into single Ribbon tab

    You need to use the same namespace and idQ rather than id names

    See Namespace examples here,
    http://www.andypope.info/vba/ribboneditor.htm
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    01-06-2011
    Location
    Paris
    MS-Off Ver
    Excel 07/10
    Posts
    5

    Re: Ribbon - Multiple xlam adding into single Ribbon tab

    Oh oki, I see. Thanks for the quick, efficient answer

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1