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.
 

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

Top