how to change fullname to TitleCase

  • Thread starter Thread starter Southern at Heart
  • Start date Start date
S

Southern at Heart

I need to change the fullname to Proper case or Title case.
I can't get the syntax for this second line...

My code
....
For Each Contact In objAllContacts
Contact.FullName.case = vbProperCase
Contact.Save
Next
....

Am I close?
Southern@Heart
 
I need to change the fullname to Proper case or Title case.
I can't get the syntax for this second line...

My code
...
For Each Contact In objAllContacts
Contact.FullName.case = vbProperCase
Contact.Save
Next
...

Am I close?

Have a look at the documentation for the function StrConv; e.g.
Contact.FullName = StrConv(Contact.FullName, vbProperCase)
might work.
 
Back
Top