You can use the Exit event of the textbox:
Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
' your code here
End Sub
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"borg" wrote in message
...
Hi,
I have a userform with a bunch of textboxes. Once someone
types something
into userform1.textbox1 and press the tab or select another
textbox, I would
like to run the code from a procedure. I know it is not
textbox1_onclick
but is there something similar to this?
Thanks!