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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert text to mixed case (initial caps)

Status
Not open for further replies.

BSman

Programmer
Apr 16, 2002
718
US
There used to be a function in good old basic that would convert text so the first letter of each word was capitalized and the remaining letters were lower case. All I can find in the VBA references are LCase (all to lower case) and UCase (all to upper case). Is there a function available to do this very useful function?
 
There is indeed

StrConv ( "CONVERT this TO proper CASE", 3 )

produces

Convert This To Proper Case
 
That certainly does the job, and it was possible to find in the on line help or books by looking up things like case or convert.

Thanks a lot for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top