Is there a way to convert the contents of a range to proper case without using vba?
Is there a way to convert the contents of a range to proper case without using vba?
Remember To Do the Following....
Use [Code].... [/Code] tags when posting code to the thread.
Mark your thread as Solved if satisfied by using the Thread Tools options.
If posting the same issue to another forum please show the link
Yeah, ... =Proper(OldText) then Copy, Paste Values
It's not quick, it's not pretty but thare are no macros !!!
2+2=9 ... (My Arithmetic Is Mental)
Agreed, not without VBA, but you can fix it as you go with a worksheet event (also posted in the other thread)
[VBA]Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
With Target
If .Column = 2 Then
.Value = WorksheetFunction.Proper(.Value)
.Replace "'S", "'s"
End If
End With
Application.EnableEvents = True
End Sub
[/VBA]
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
And if the range already exists ( 1850 rows)?
Can a conditional format do the trick?
Remember To Do the Following....
Use [Code].... [/Code] tags when posting code to the thread.
Mark your thread as Solved if satisfied by using the Thread Tools options.
If posting the same issue to another forum please show the link
I don't see how.Originally Posted by Aussiebear
You could also use a Selection Change event, and keep pressing the Down Arrow.
[VBA]Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Proper Target
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Proper Target
End Sub
Sub Proper(Target As Range)
Application.EnableEvents = False
With Target
If .Column = 2 Then
.Value = WorksheetFunction.Proper(.Value)
.Replace "'S", "'s"
End If
End With
Application.EnableEvents = True
End Sub
[/VBA]
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'