


In this case, I just can't catch the paste. except when the user issues a paste using the right-click context menu (right click, then "Paste - Keep Source Formatting"). My onAction functions are all triggered as expected. MessageBox.Show("Caught context menu Paste Keep Formatting") Public void OnButtonPasteSourceFormatting(Office.IRibbonControl control, ref bool CancelDefault) I am able to catch the Keyboard (Ctrl-C/Ctrl-V) and Ribbon Buttonįor discussion, it's safe to assume my onAction functions all just issue a MessageBox.Show("Handler foo has run."), like: In short, I am trying to notice/hook cut & paste operations. I'm running VS2013 Community, writing a VSTO Word Add-In using C#, and my development machine is Win 8.x running Office 2013. In short, how do I hook/catch the context menu "Paste - Keep Source Formatting" button? This is what I've done: I've done some digging through the forums and docs, but haven't found what I need for this one.
