how do I change the text case of imported data in excel?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using office 2000. I would like to Change "ALL CAPS" to Just the first
letter of name in caps or "title case" in Excel. I import data from
different sources and I would like to make it all uniform in appearance.
Currently I have to copy date to word, make changes to text case and import
to excel

"WORD" allows you to change the text case. Logic tells me there has to be a
way to do this in Excel.
 
Hi Artlene,

Try:

Sub MakeProperCase()
Dim mycell As Range
Dim Rng As Range

Set Rng = Selection

On Error Resume Next
For Each mycell In Intersect(Rng, _
Rng.SpecialCells(xlCellTypeConstants, 2))
mycell.Value = Application.Proper(mycell.Value)
Next mycell
End Sub


If you have frequent need, you could add a toolbar button and asssign this
macro to the button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top