Selected text action as Word AddIn in C#
I'd like to have a Word 2007+ AddIn (in C#) which after selecting text and the right mou开发者_C百科se click shows a pop-up menu with MY OWN Item and after clicking this Item I can use the selected text as string in the event handler.
Please, I am completely new to the AddIn development. How to do that two things?
Would you prefer VBA or C#? Both are viable options. I will say however, VBA is a more lightweight solution. A good VBA example can be found here and a beautiful C# example here. Hope that helps.
精彩评论