convert text to capitals

  • Thread starter Thread starter Guest
  • Start date Start date
AyseG said:
I would like to have a field convert the text typed to all capitals

The simplest way is have a procedure for the AfterUpdate event of the
text box. For example,

Private Sub txtMyTextBox_AfterUpdate()

With Me!txtMyTextBox
.Value = UCase(.Value)
End With

End Sub
 

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