Clear a text box

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

How do I clear a text box in if there are chareters (sp)
in the text box using VBA?
 
Forms!YourForm!TextBox.Undo

Check Access VB Help on the Undo Method of a Control.
 
Try this:

textboxname.value = null

This sets text box value to a null value and clears all
typing within it.

Jessica
 

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.

Ask a Question

Back
Top