Hi,
I'm almost there to solve the loss of undo/redo-stack and clipboard by VBA made changes.
I can already find out if the last keypress was undo or redo:
If GetKeyState(vbKeyY) And -128 And GetKeyState(vbKeyControl) And -128 Then ' "Ctrl-Y" has been pressed
If GetKeyState(vbKeyZ) And...