David Gard
David Gard

Reputation: 12047

Run a VBA function every time 'Undo' is clicked

Is it possible to run a VBA function (Word 2007) every time the user clicks 'undo' (or crtl+z)? Thanks.

Upvotes: 0

Views: 219

Answers (1)

Jeff Rosenberg
Jeff Rosenberg

Reputation: 3572

You can intercept most built-in commands in Word with VBA. See Using VBA to Control Built-In Commands in the 2007 Office System.

Try intercepting the EditUndo command.

Upvotes: 2

Related Questions