NameChange. Me Last. Name. Undo. The next example uses the Undo method to reset all changes to a form before the form is updated. Private Sub FormBefore. UpdateCancel As Integer. See also. Concepts.