View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Chip Pearson
 
Posts: n/a
Default Convert names into initial caps

Insert a column next to your data. In that column, enter the
formula

=PROPER(A1)

and copy down as far as you need to go. Then, select those cells,
copy them, select the first original cell, go to the Edit menu,
choose Paste Special, and choose the Values option.

You could also use a VBA macro.


Sub AAA()
Dim Rng As Range
For Each Rng In Application.Intersect(Columns(1), _
ActiveSheet.UsedRange).Cells
Rng.Value = StrConv(Rng.Text, vbProperCase)
Next Rng
End Sub

Here, change Columns(1) to the appropriate column number.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Grd" wrote in message
...
Hi there,

I have a column of names like SANDRA, JIM that I would like to
convert to
Sandra, Jim etc but I don't know how to do it and there are
3500 of them.

Is there anyway to do this without retyping them?

Any help would be great.

Thanks

Connie