+ Reply to Thread
Results 1 to 3 of 3

Customize Ribbon attached to a workbook

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Karlstad, Sweden
    MS-Off Ver
    Excel 2016
    Posts
    232

    Customize Ribbon attached to a workbook

    Hi,

    I discovered that a customized ribbon by XML-code is only shown when the workbook containing the XML-code is ACTIVE. If another workbook is active, the customization disappears. I thought that the customized ribbon was shown as long as the workbook with XML-code was OPEN. Is it possible to show the customized ribbon as long as the file with XML-code is OPEN, not ACTIVE?

    Of course I can permanent customize the ribbon or use QAT. However, the customization is always shown. I don't want that. I only want the customization when a certain file is open.
    1. Reply to thread and inform if suggestion was helpful or not
    2. Click on the star (=Add Reputation) if you think someone helped you
    3. Mark [SOLVED] to this thread if solution was found. (On Menu "Thread Tools" > "Mark this thread as solved")

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

    Re: Customize Ribbon attached to a workbook

    You need to define a new name space and use qid tag.

    Take a look at the NamespaceA and NamespaceB examples
    http://andypope.info/vba/ribboneditor.htm
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Karlstad, Sweden
    MS-Off Ver
    Excel 2016
    Posts
    232

    Re: Customize Ribbon attached to a workbook

    Thanks Andy,

    That solved my case.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to customize ribbon 1 workbook only ?? is it possible in macro ?
    By jasond1992 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-01-2015, 02:36 AM
  2. Customize Excel Ribbon using VBA and RibbonX
    By vikramnayak85 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-02-2015, 03:59 AM
  3. Can't Customize Ribbon in Excel 2007
    By Prcntrygrl in forum Excel General
    Replies: 4
    Last Post: 12-10-2014, 12:21 PM
  4. [SOLVED] Unable to Customize Ribbon
    By bkm2016 in forum Excel General
    Replies: 9
    Last Post: 07-14-2014, 11:18 AM
  5. [SOLVED] Customize Ribbon Code. Need Help!
    By Hooty in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2013, 12:45 PM
  6. [SOLVED] Customize Excel Ribbon When File Opens
    By amotto11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-06-2013, 04:04 PM
  7. Need help for Customize Excel Ribbon macros
    By Tareq87 in forum Excel General
    Replies: 6
    Last Post: 05-06-2012, 12:32 PM

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