Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9165851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:00:23+00:00 2026-06-17T15:00:23+00:00

SHORT: I would like to add a drop-down menu to the quick access toolbar

  • 0

SHORT:
I would like to add a drop-down menu to the quick access toolbar of any instance of Word 2010 via placing a customized .dotm-file in Word’s startup folder. I fail in creating this customized .dotm-file.

LONG:
I’ve been writing a little “add-in” for Word 2010, first with VSTO, then figured out problems with the deployment, now with VBA. The add-in should simplify adding my company’s logo and legal notice to documents (different combinations of logos & legal notices exist).

In order to allow selection of wished logo and legal notice with as few clicks as possible, I thought about automatically adding a drop-down menu to the quick access toolbar (qat). I want to do this by placing a .dotm-file containing the code for this qat-extension & the logic for the header/footer-setting in the user’s Word startup-folder.

I have already succeded in adding such a drop-down menu to the Add-Ins-Ribbon using CustomUI, everything works fine on the code side. Via the menu the user can choose from all presets supplied and headers and footers are added successfully.

Furthermore, I have seen and played with examples that successfully add controls directly to the qat.

If placed in my startup-folder, these examples do a perfect job and the controls defined therein appear on any instance of Word. The way to go is to create a new folder “userCustomization” in the .dotm-document and then create the customUI.xml-file with several restrictions (no custom icons allowed e.g.).

Unfortunately, I was not able to figure out how to implement a drop-down-menu control in the qat. All the examples I found only used “simple” (button) controls and no matter how many times whatsoever I tried wrapping buttons in a tag, i never got it working.

I can on the other hand manually add my ribbon via “qat => add controls” to the qat and .. voilà .. it’s there, working exactly as wanted, so i suppose it must be possible. But what I need is to automate this so that our users don’t have to do any configuration of the qat.

Help would be very much appreciated! Best regards from Germany,
Kurt

This is how the drop-down menu is added to the Add-Ins-tab:

<ribbon>  
<tabs>  
<tab idMso="TabAddIns">    
<group id="MyGroup" label="WordDesigner" visible="false">       

    <menu id="myMenu" label="Design einfügen" size="large" image="menulogo">
    <menu id="mySubMenu" label="Rechnungswesen" image="icon2">  
        <button id="MahnUndKlage"  label="Mahn- und Klage" image="icon3" onAction="DesignAnwenden"/> 
        <button id="Buchhaltung"  label="Buchhaltung" image="icon3" onAction="DesignAnwenden"/>    
    </menu>
    <button id="Personalabteilung"  label="Personalabteilung" image="icon3" onAction="DesignAnwenden"/>
    <button id="Verkauf"  label="Verkauf" image="icon4" onAction="DesignAnwenden"/>
    <button id="clearHeaderAndFooter"  label="Gestaltung entfernen" image="icon5" onAction="DesignAnwenden"/>   
    </menu>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

Usefull information I found included:

  • Greg Maxey on modifying icons in the qat
  • in german, part 18 of an introduction to
    RibbonX
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:00:25+00:00Added an answer on June 17, 2026 at 3:00 pm

    Alright, some more research has led to some more information ( … ) and in case anybody else might ever search for a similar question, I’ll try to conclude what i got..

    • 1) According to this MS page on the QAT, only Button,
      ToggleButton and CheckBox are valid items for the QAT in Win7 (Win8
      allows some more controls).

    • Since you can manually add drop-down-menus as well, I thought there had to be some way to do that automatically as well as with buttons, checkboxes and togglebuttons

    • I could for the life of me not figure out a way to auto-add a
      drop-down to the QAT by modifying the customUI.xml-file in the userCustomization-Folder of a .dotm-file in startup folder.

    • There is one other possibility to achieve that goal: Office 2010 uses
      a file of the type “.officeUI” where it stores each users elements
      from the QAT (e.g. Word.officeUI). In there, adding the following xml-Element will make sure that, if you have placed the .dotm-file containing your menu in
      Word’s startup folder, it is on load displayed as a drop-down in the
      QAT:

      <mso:control idQ="x1:myMenu" visible="true"/>

    • Unfortunatly, enthusiastically adding this xml-Element to the customUI.xml in userCustomization results in .. poof .. no user defined extra icons in the QAT at all (customUI.xml is corrupt).

    Furthermore, a great ressource I stumbled upon yesterday is Andy Pope’s Visual Ribbon Editor. You can easily tweak the Ribbon and QAT.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to add keyboard short-cuts to my web application. But for one
Long story short is. I created this http://jsfiddle.net/paDmg/368/ and I would like to add
I have a context menu on a ListView. I would like to add a
I am creating an Excel Add-In using Visual Studio 2010. I would like to
Short version : I would like the maven-glassfish-plugin to only be executed in the
I would like to generate a short, unique ID without having to check for
I would like to determine what the long url of a short url is.
I would like to implement operations that is undoable in a short time after
I would like to know how can I write a pointer array: short* myArray
How would you do to display rendered html code like this <b>short article</b> and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.