Hi all,

I have a userform in my project with a MultiLine TextBox and cancel button (Cancel property set to True). When clicking this button I have this code:

Private Sub btnCancel_Click()
Unload Me
End Sub
I have several projects with the same functionality but on this one, when I click the Cancel button it clears all the text that is in the text box (on the first click) and when I click cancel again it actually unloads the form.

Has anyone seen this before and can help?

Thanks
John