I am trying to create a custom ribbon in one of my Excel 2010 add-ons, and for some reason, Office overrides some of the keyboard keys (keyboard accelerators). I know that if Office sees a conflict, it usually overrides one or both of the prompts with "Y", "Y2", "Y3", etc., but in this example I only have one button on my tab therefore there is no other control over the conflict with it.
Here is the XML:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon>
<tabs>
<tab id="tabid_1" label="SampleTab" keytip = "B">
<group id="grpid_1" label="SampleGroup">
<button id="btnid_1" label="SampleButton" keytip="Z" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
Instead of the SampleButton with the Z key, it is replaced with "Y2". I see this behavior regardless of the Tab prompt (currently "B"). I checked that there was no other button with a “BZ” hint, which might be inconsistent, but I didn't notice.
, , keytip SampleButton "Y", , , "Y *" .
, "", - , , <group>. <group>, "C" "Y2" . .
- , ?
!