ms-wordvstoword-automation

Disabling the undo function in word VSTO


I am developing a Wordaddin using visualstudio 2017 for word 2016 .i want to disable the undo when i am enabling a toggle button.


Solution

  • You simply need to repurpose the Undo button. See Temporarily Repurpose Commands on the Office Fluent Ribbon for more information.

    You can find the idMso values of built-in controls in the following documents: