If you make any mistakes while typing or formatting in a Word document, an Excel spreadsheet or an Outlook Email, you can undo your last action.

To undo, press Control + Z.

If you undo too far, you can also redo your actions.

To redo, press Control + Y.

Once you are back to where you started, Control + Y can also be used to repeat your last action.