I have this for a txtBank, and it works fine
Private Sub bank_LostFocus()
Bank = StrConv(Bank, vbProperCase)
End Sub
is there a way to set this for every txtBox in the form with out having to write the Private Sub procedure for each control? maybe...
Private Sub Form(not sure what this would be)_LostFocus()
dim txtControl as string
txtControl = acActiveControl
txtControl = strConv(txtControl, vbProperCase)
end sub
maybe i have to use Me.Control or something?
I'm not really sure...pretty new at this.
Thanks for your input!
Private Sub bank_LostFocus()
Bank = StrConv(Bank, vbProperCase)
End Sub
is there a way to set this for every txtBox in the form with out having to write the Private Sub procedure for each control? maybe...
Private Sub Form(not sure what this would be)_LostFocus()
dim txtControl as string
txtControl = acActiveControl
txtControl = strConv(txtControl, vbProperCase)
end sub
maybe i have to use Me.Control or something?
I'm not really sure...pretty new at this.
Thanks for your input!