Undo Method Example

This example cancels the last user-interface action. The example must be the first line in a macro.

Application.Undo