How do I change case from lower to proper in a range of cells?

A

Ajayjeet

I need to change case from Lower to UPPER for a range of cells. Any pointers
on this will be appreciated.
 
P

Paul B

Ajayjeet, you could use the upper functon like this, with data in column A
in B1 put =UPPER(A1) and copy down, then copy and paste special over your
data, or with a macro, select your data then run this code

Sub Make_CAPS()
Dim cel As Range
For Each cel In Intersect(Selection, _
ActiveSheet.UsedRange)
cel.Formula = UCase$(cel.Formula)
Next
End Sub
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **
 
Top