Change Text Case
Hi Johnathan,
Try:
'===============
Sub MakeProperCase()
Dim rCell As Range
On Error Resume Next
For Each rCell In selection.Cells
If Not rCell.HasFormula Then
rCell.value = Application.Proper(rCell.value)
Else
ActiveCell.Formula = Application.Proper(ActiveCell.Formula)
End If
Next myCell
End Sub
'<<===============
If this is a frequent requirement, you might wish to add a toolbar button
and assign the macro to the new button.
---
Regards,
Norman
"Jonathan" wrote in message
...
I want to be able to run a Macro that chnages all the cell contents from
UPPERCASE to Titlecase. I know hwo to do it in Word but can this be done
in
Excel?
Tia
Jonathan
|