Global Keypress Function

W

Which1

Hi, I want to write a function that will capture every keystroke that I type
and capitalize it? I already do do this in certian text boxes.

Private Sub AdditionalEasementsCoOwnerFirstName_KeyPress(KeyAscii As Integer)
Char = Chr(KeyAscii)
KeyAscii = Asc(UCase(Char))
End Sub

But I have many other text boxes and do not really want to input this code
to all of them. Just seems like there should be an easier way to do this.

Thanks.
 

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

Top