How to Assign a KeyTip to an Office Split Button Using Custom XML
Question details
The user is trying to configure a KeyTip specifically for the main button of a split button in the Office Ribbon via Custom UI XML.

- Product
- Microsoft Office
- Device & OS
- not provided
- Scenario
- Customizing the Office Ribbon interface using XML code to add keyboard shortcuts (KeyTips) to specialized button controls.
- Observed behavior
- The assigned KeyTip is incorrectly applied to the split button's drop-down menu rather than its main button, limiting shortcut functionality.
Ensure you have your Custom UI XML file open in a text editor or developer environment and have basic familiarity with Microsoft Office Ribbon XML schemas.
Consult Microsoft Developer Q&A
Because this behavior often stems from internal Office UI XML parser limitations, escalating to specialized developer forums is the most direct path to an authoritative answer.
The Custom UI XML specification implies that assigning distinct KeyTips to a split button's main action and menu is theoretically possible. However, in practice, the Office XML parser frequently overrides this and forces the KeyTip onto the drop-down menu.
Since this requires specialized developer knowledge outside standard community support, submitting your specific XML block to Microsoft Q&A is the recommended approach.
Copy the specific `<splitButton>`, `<button>`, and `<menu>` XML elements from your configuration file that demonstrate the KeyTip assignment issue.
Open your web browser and navigate to the official Microsoft Q&A developer forums, selecting the appropriate Office Development tag.
Submit a new question detailing your Office version, the exact Custom UI XML code you are using, and the observed KeyTip behavior to request an expert review.

Workaround: Use Separate Controls
If the split button refuses to assign the KeyTip to the main button, visually separate the controls into an independent button and an independent drop-down menu.
Enjoy a Hassle-Free Office Experience with WPS Office
Dealing with complex Custom UI XML configurations and undocumented Ribbon limitations in Microsoft Office can be highly frustrating. If you need a straightforward, highly customizable, and lightweight productivity suite, consider switching to WPS Office. It provides an intuitive interface and excellent format compatibility without the developer headaches.
- 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Run the setup: Open the downloaded installation file and follow the on-screen prompts to easily install the suite.
- 3. Start working instantly: Open WPS Office and enjoy immediate access to familiar word processing, spreadsheet, and presentation tools without complex configurations.

Frequently Asked Questions
What is a KeyTip in Custom Ribbon XML?
A KeyTip is a keyboard shortcut identifier (usually a single letter or number) assigned to a Ribbon control. When a user presses the 'Alt' key, these KeyTips appear over the controls, allowing navigation and execution without a mouse.
Why does the splitButton default the KeyTip to its menu?
A splitButton in Office UI XML encapsulates both a primary button and a secondary drop-down menu. Due to how the internal Office XML parser handles this specific nested control group, it often attaches the parent KeyTip to the menu toggle by default.
Where can I find documentation on Office Custom UI XML?
Detailed documentation regarding Office Custom UI XML elements, including split buttons and KeyTips, can be found on the Microsoft Learn portal under the Office developer guidelines.




