none
WndProc in office RRS feed

  • Question

  • Hi

    In Winforms apps we can listen the messages using WndProc function.

    is there such a function which can be use in office customization.

    What I want to do is run code if the paste happen in word app.

    Thanks


    dddd

    Thursday, May 12, 2016 8:09 AM

Answers

  • Hi dddd,

    I have checked all the apis in Word object model, and there is no paste event in Word application. In excel application, we could use Application.OnKey method to override the built-in function for Ctrl +V, but there is no such method in word.

    If this is a feature you want to include in the future version of Word, I suggest you submit a feedback in the link below:

    https://word.uservoice.com/

    Best Regards,

    Edward


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Friday, May 13, 2016 7:05 AM