Search code examples
c#add-inpowerpointundoundo-redo

Is is possible to detect Undo/Redo in a Powerpoint Addin via C#?


Is is possible to detect Undo/Redo events in a Powerpoint Addin via C#? Or is it possible to access what has happened or manipulate the Undo/Redo list?

I ask because I haven't seen anything that allows this, which makes me surprised, I was expecting it to be possible, so I'm asking mostly in the hope that I've missed something.

Any help would be much appreciated!


Solution

  • PPT doesn't expose the undo list, unfortunately, and there's no event you can trap to let you know when an undo/redo has taken place.

    I suppose it'd be possible to implement your own undo stack but that seems like the kind of thing Stephen King would write novels about. ;-)