How does undo work in Interop.excel? C# - making a addin in VS
I imagine the following:
- I register a undo-method on the stack (implemented by me).
- I save the current state... where?
When the user uses undo (ctrl-z), my undo-method gets called, and I restore the previous state with the data that I stored.
Can't get any good info on this though. Maybe it works totally different?