Case Sensitive

Mahall906

New member
Local time
Today, 03:23
Joined
Apr 11, 2014
Messages
29
Morning all,

I think I may be struggling with such a feeble task.

I have a text box within a form and I would like to make it case sensitive, i.e nottingham city become Nottingham City if entered incorrectly.

Is this a simple thing to fix?

Thanks in advance

Marcus
 
Hello Mahall906, Welcome to AWF :)

You can use the AfterUpdate event, something like
Code:
Private Sub yourTextBoxName_AfterUpdate()
    Me.yourTextBoxName = StrConv(Me.yourTextBoxName, vbProperCase)
End Sub
 
Awesome!! Thanks that is great thank you!!
 

Users who are viewing this thread

Back
Top Bottom