none
Custom UI context menu (static) doesn't fire RRS feed

  • Question

  • Hello

    I have a strange problem I'm not able to solve. For example I have the following XML-Code:

    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
       <contextMenus>
          <contextMenu idMso="ContextMenuFormulaBar">
            <button id="btnSchwaerzen" label="Schwärzen" imageMso="HappyFace" onAction="pSchwaerzen" />
          </contextMenu>
          <contextMenu idMso="ContextMenuCell">
            <button id="btnFreistellen" label="Freistellen" imageMso="HappyFace" onAction="pFreistellen" />
          </contextMenu>
       </contextMenus>      
    </customUI>
    Both entries appear perfectly, one with a right mouseclick on a cell, and the other in the formula bar. But my problem is, that only the command on the cell fires but not not the command in in the formula bar.

    Does anybody have an idea what's wrong?

    Thanks

    Daniel

    Friday, February 8, 2019 7:16 AM