How to i capitalize all words in an existing worksheet?
It depends how the names are arranged with in the worksheet but for a column
of names (for example) this would work
Sub caps()
Dim myRange As Range
Set myRange = Range("A1:A1000") ' Change to suit
For Each c In myRange
c.Value = UCase(c.Value)
Next
End Sub
right click the sheet tab, view code and paste it in.
Mike
"MegaGrl" wrote:
I have a worksheet that contains approximately 2500 names. At this time all
names in in lowercase. I need to get them all into UPPERCASE. I know
there's got to be an easier way to do that rather then retyping each name.
|