Answered Using EditPaste() in C# code

  • Tuesday, April 03, 2012 2:52 PM
     
     

    Hi,

    I have a Word 2007 Template project I created in VS 2010 targetting the 4.0 .NET Framework.  The project is written in C#.  I would like to capture the paste event, like you can do in VBA by implementing an EditPaste method in your VBA code.

    I found this thread (http://social.msdn.microsoft.com/Forums/en/vsto/thread/c68753dc-e87b-4b28-81a7-46050e2f5e20) and wonder if someone could explain a bit more about how you would go about adding this to the ribbon as Cindy said when she wrote: "If we're talking 2007, you can re-purpose the commands via the RibbonXML for your add-in" in that post.

    Thanks in advance.

All Replies