I have a userform with the following code in a Cancel button. The trouble with it is if I make any changes in the text boxes on the userfrom then hit cancel it will save those changes. How can I get it to cancel and not save any changes?



Private Sub cmdCancel_Click()
    Unload Me
End Sub