Reputation: 591
I want to add a custom menu in Word, and on clicking on the menu item , my application should execute.
Upvotes: 0
Views: 766
Reputation: 15391
I assume that because you mention menu, you are speaking of Word 2003. If you want to use C# for that, you may use VSTO (Visual Studio Tools for Office) to do that, using the older version, VSTO 2005 SE. I have never done that for Word, but I did for Excel, and I think there shouldn't be much of a difference there. You will have to use Visual Studio 2008 for this, though; I believe VSTO 2005 SE is no longer supported in VS 2010.
If you are targeting Word 2007 or higher, you would have to use the Ribbon instead, as the Menu is gone.
Upvotes: 2