Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Another way that's built into VBA is to use StrConv:
mystr = StrConv(myStr, vbProperCase) John Wilson wrote: dina, In VBA, what you're looking for is Application.Proper If you're using a UserForm TextBox, one way would be to use the After_Update Event of the TextBox. Example: Private Sub TextBox1_AfterUpdate() TextBox1.Value = Application.Proper(TextBox1) End Sub John "dpaulos " wrote in message ... hello, i have created my first user form, to input names and addresses. i would like the text to show up as proper case. can anyone tell me a simple way to accomplish this and also where this code is supposed to go (ie. in the textbox code, user form code, etc.). i'm currently putting code into the private sub for each textbox. this isn't working. thanks, dina --- Message posted from http://www.ExcelForum.com/ -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I change from upper case to proper case in excel 2002 | Excel Discussion (Misc queries) | |||
excel'03 how to convert a column from upper case to proper case | Excel Discussion (Misc queries) | |||
Excel: How do I change all upper case ss to proper case? | Excel Worksheet Functions | |||
Changing Upper case to Proper Case | Excel Worksheet Functions | |||
Excel User Form- Format Proper Case | Excel Programming |