I have an editable combo box , wherein the user selects an item and the remaining fields on the form get populated. Theres a scenario wherin the user can type in new text in the combo box , make some changes to the remaining fields and after this he selects another code from the list without saving the changes. I prompt him with a vbyesnocancel msgbox. On click of cancel I have to populate the combo text with the user typed text. Doing this in the click event clears the text field after the Exit Sub. Could you provide me with a method for retaining the text.