How to put title case or initial caps in a form's text box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using OL2000 - I want to have the text automatically formatted to initial
caps or as it's sometimes called "Title case" in a text box of a newly
designed OL form.
Is there a way of doing this?
Thanks
 
If you have the text box bound to a field, you can intercept changes to the
value in the control via the PropertyChange or CustomPropertyChange event.
Although there is no VBA or VBScript function to format a string to title
case AFAIK (there is in Word VBA), you can use LCase or UCase functions with
judicious use of Left, Mid and Right functions to control the case of various
characters within a string.
 
Back
Top