Capitalizing the first letter in a form field

A

Angyl

I know the code to have Word Capitalize the first letter of sentences...

My question is is there any way to apply that to the contents of a form field?

So if a user typed in mary in txtField1 Word would automatically turn it
into Mary?
 
J

Jay Freedman

You don't need code. In the Properties box of the form field, open the Text
Format dropdown and choose "First capital". The first letter will be
capitalized when the user exits from the field.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Top