If the event knows the name of the text box:
Me.textbox.Controls(0).Caption
If you are using a general function for a bunch of text
boxes:
Me.ActiveControl.Controls(0).Caption
I suspect that you should use the Enter event instead of the
Click event so the code will run when users tab to the text
box.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.