change case function

G

Guest

I thought there was a function that would let me case the case of a text
string to 'proper case' ...that would capitalize the first letter of each
word. I want to run a macro to change my contact names to this, right now
some have the last name all capitalized.
does anyone know how to do this?
thanks,
ck
 
M

Michael Bednarek

I thought there was a function that would let me case the case of a text
string to 'proper case' ...that would capitalize the first letter of each
word. I want to run a macro to change my contact names to this, right now
some have the last name all capitalized.
does anyone know how to do this?

Doesn't StrConv(strText,vbProperCase) do most of what you want? You'll
have to deal with special cases like "O'Brian", "McDonalds", "de la
Rossa", "von Braun" yourself.
 

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

Top