caps

S

seeker52

I need to make a text box start to type caps at the users prompting. I have tried an input mask >aaaaaaaaaaaaaa;;" " and it does not work. It turns the text to all caps upon leaving the control. Any ideas?

seeker52
 
B

Bruce M. Thompson

I need to make a text box start to type caps at the users prompting. I have
tried an input
mask >aaaaaaaaaaaaaa;;" " and it does not work. It turns the text to all caps upon
leaving the control. Any ideas?

Insert the following line of code into the textbox's "KeyPress" event procedure:

KeyAscii = Asc(UCase(Chr(KeyAscii)))

This will force upper case as the characters are entered.
 

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

Similar Threads

Word doc keeps changing to ALL CAPS 0
Drop cap problem 3
Change all text on Spread sheet 3
ASK Field Formatting 1
two issues 0
Word OLE to check spelling in text box 1
OLE Word spelling 0
Wrapping and Anchors 0

Top