Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Right click on the sheet tab, select view code, then paste in code like this
Private Sub Worksheet_Change(ByVal Target As Excel.Range) On Error GoTo ErrHandler If Target.Count = 1 And Target.Column = 3 Then Application.EnableEvents = False sStr = Target.Value Target.Value = UCase(Left(sStr, 1)) & LCase( _ Mid(sStr, 2)) End If ErrHandler: Application.EnableEvents = True End Sub Change 3 to the column where you want this to occur. -- Regards, Tom Ogilvy "vv" <microsoft.public.cs.desktop wrote in message ... I am writing names very often. It would be nice to write them with lower case. Of course I need first letter of name Capital immediately after leaving cell by TAB key. Is it possible to do it some way? Many thanks for help. Excel and English beginner Vladi from Prague. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can I change the cap letters of student names to lower case | Excel Discussion (Misc queries) | |||
conditional formatting - highlight Capital letters but not lower c | Excel Discussion (Misc queries) | |||
How do I force all capital in a column of lower case names? | New Users to Excel | |||
How to change lower to upper case letters? | Excel Discussion (Misc queries) | |||
detect upper and lower case letters | Excel Programming |