How do i turn all text to Proper Text
1) Here is a method that does use a loop...
Sub FixCase()
With Worksheets("Sheet3").UsedRange.Cells
.Value = Application.Proper(.Value)
End With
End Sub
Just change my example worksheet name ("Sheet3") to the actual name of the
worksheet that you want to do this on.
2) Same set up except we change the Cells reference to the Column
reference...
Sub FixCase()
With Worksheets("Sheet3").UsedRange.Columns("E")
.Value = Application.Proper(.Value)
End With
End Sub
Change the worksheet name as in #1 above and also change the column letter
from my example of "E" to the actual column letter or number.
--
Rick (MVP - Excel)
"Withnails" wrote in message
...
Hi
1) How do i select a worksheet and turn all text to Proper Text?
2) How do i select a column and turn all text in it to Proper Text?
Thank you
|