Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi - I copied the following code from this forum to make certain columns caps and another proper: Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Target.Cells.Count 1 Then Exit Sub On Error GoTo ErrHandler Application.EnableEvents = False If Target.Column <= 5 Then Target.Value = UCase(Target.Value) Else Target.Value = Application.Proper(Target.Value) End If ErrHandler: Application.EnableEvents = True End Sub My question is, how do I make a specific column proper? If I want column 6 only proper, how do i do that? thanks -- rmm30 ------------------------------------------------------------------------ rmm30's Profile: http://www.excelforum.com/member.php...fo&userid=8358 View this thread: http://www.excelforum.com/showthread...hreadid=386119 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing all caps to proper | Excel Discussion (Misc queries) | |||
proper formula - how to make the state be CAPS | Excel Discussion (Misc queries) | |||
How do I change the case from all caps to proper for names I have in columns E, F, G? | Excel Discussion (Misc queries) | |||
Converting All Caps to Proper casing | Excel Worksheet Functions | |||
How do I make some columns all caps and others proper? | Excel Discussion (Misc queries) |