thorpyuk
Well-known Member
- Joined
- Mar 14, 2006
- Messages
- 1,453
Hiya,
I've a userform with a textbox that allows me to pop in a comment.
I save what i write in the textbox back to my data sheet by using:
However, i have a combobox that lets me select different records, and when i choose a different record, this does not trigger my exit event, and my comment is lost.
I tried putting Textbox44_Exit in my combobox change code, but it didn't like that.... has anyone any other ideas how i might force my exit event?
Thanks!
I've a userform with a textbox that allows me to pop in a comment.
I save what i write in the textbox back to my data sheet by using:
Code:
Private Sub TextBox35_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If blnHaltChange Then Exit Sub
If IsError(Application.Match(Val(TextBox1.Text), Worksheets("Project").Range("A:A"), 0)) Then Exit Sub
Sheets("Project").Range("AM" & f.Row).Value = TextBox35.Value
End Sub
However, i have a combobox that lets me select different records, and when i choose a different record, this does not trigger my exit event, and my comment is lost.
I tried putting Textbox44_Exit in my combobox change code, but it didn't like that.... has anyone any other ideas how i might force my exit event?
Thanks!