How to add a menu item to Excel 2010 Cell Context Menu - old code doesn't work

后端 未结 1 679
梦谈多话
梦谈多话 2021-01-05 12:07

I\'ve tried 3 different code samples and they all fail.

Here\'s the code from a MSFT employee (How to show a context menu on a range), the other two samples have pr

1条回答
  •  说谎
    说谎 (楼主)
    2021-01-05 13:01

    Check to see if this type of code exists (either in your own addin or any other addin's your company uses) and if it does either comment it out or move it to the _Shutdown event of the addin.

    //reset commandbars
    Application.CommandBars["Cell"].Reset();
    

    0 讨论(0)
提交回复
热议问题