I thought I saw this title a few weeks ago, but can't find it.
With data retrieved from a search into the form, if any key is pressed (in any textbox), I want it to clear the one textbox (or controlsource).
I tried the below, but it does not run when I press a key.
Thanks again for your help, Phil.![]()
Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger) txtNewWOnum.Text = "" End Sub
Bookmarks