Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code for capitalizing text in a template

Status
Not open for further replies.

glrodgers

Technical User
Oct 14, 2003
2
US
Hello

I have created a Word 2007 template with a custom userform which I created. In the userform the user inputs a name once and I have the name bookmarked to appear 3 different times in the document. In the first instance of the name in the document, I want it to be in all capital letters and in the other 2 instances I would like the name to appear in initial caps. Can someone give me some code to do this please. Thanks for any and all help.
 
Have a look at the StrConv function.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top