1

Today, I was looking for a method for customize contextual menu in excel. I found this topic useful:

http://www.rondebruin.nl/win/s6/win001.htm

However in the following XML code, this snnipet idMso="ContextMenuCell" doesn't work under any circumstances. I spent several hours looking for a table object id for idMso.

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
   <contextMenus>
      <contextMenu idMso="ContextMenuCell">
         <dynamicMenu id="MyDynamicMenu" 
        label= "My Dynamic Menu" imageMso="HappyFace" 
        getContent="GetContent" insertBeforeMso="Cut"/>
      </contextMenu>
   </contextMenus>
</customUI>
Dani Aya
  • 133
  • 8
  • You should answer your own question in the answers. – SOFe Mar 22 '16 at 19:48
  • Providing an answer to your own question is completely okay and also often quite useful. However, you should not answer in the question; post your answer as a separate answer instead. The question should really only contain the question. – morxa Mar 22 '16 at 19:49
  • Ok, thanks for your advise. – Dani Aya Mar 22 '16 at 20:00

1 Answers1

6

Try using idMso="ContextMenuListRange" for excel table context menu modification.

MIchael G.
  • 61
  • 2