+ Reply to Thread
Results 1 to 7 of 7

Convert first letter of every word to Uppercase . Not Proper casing

  1. #1
    Registered User
    Join Date
    06-20-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    30

    Convert first letter of every word to Uppercase . Not Proper casing

    I use proper function to convert words to proper case but when entering addresses like GPO Box 123 , USA etc...
    the GPO part and the USA part needs to remain in capital format, my goal is simply to make every first letter of the word uppercase irrespective of what the casing of following letters it. is there any way to achieve this ? there are more than just
    GPO there are other words that also need to be all in capitals which appear in capitals already and have to remain in capitals.


    For example :

    the contents of cell before macro

    "THE UNITED STATES OF AMERICA is a warm country"

    The desired result after the macro should be

    "THE UNITED STATES OF AMERICA Is A Warm Country"




    I want this macro to run on the whole Column E .

    Thanks in advance !!

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,730

    Re: Convert first letter of every word to Uppercase . Not Proper casing

    Please Login or Register  to view this content.
    Edit:
    Quote Originally Posted by rampulaparthi
    I want this macro to run on the whole Column E .
    Last edited by jindon; 08-27-2013 at 04:32 AM.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Convert first letter of every word to Uppercase . Not Proper casing

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-20-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Convert first letter of every word to Uppercase . Not Proper casing

    Quote Originally Posted by AB33 View Post
    Please Login or Register  to view this content.
    This code would propercase the whole sentence . so if i have a word USA in the cell that would become Usa and i dont want it to happen :-)

  5. #5
    Registered User
    Join Date
    06-20-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Convert first letter of every word to Uppercase . Not Proper casing

    Quote Originally Posted by jindon View Post
    Please Login or Register  to view this content.
    Edit:
    Thanks Jindon .. can you just convert it into a sub ( a macro code for column E which i can execute )

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Convert first letter of every word to Uppercase . Not Proper casing

    Please do not reply with full quote, just a reply will do. It has not purpose other than to clutter the space of this page.
    I can only go by your example.


    "THE UNITED STATES OF AMERICA Is A Warm Country" is converted in to
    "THE UNITED STATES OF AMERICA Is A Warm Country"

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,730

    Re: Convert first letter of every word to Uppercase . Not Proper casing

    See my post again.

  8. #8
    Registered User
    Join Date
    06-20-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Convert first letter of every word to Uppercase . Not Proper casing

    Thanks a lot ... served my purpose .. Take my like and reputation .

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Capitalize first letter in each word, but NOT Proper
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-24-2013, 10:38 AM
  2. [SOLVED] need to change high casing to low casing letters
    By drycreekvi in forum Excel General
    Replies: 1
    Last Post: 07-28-2012, 02:31 AM
  3. How do I get PROPER casing in same cell?
    By Joe Gahona in forum Excel General
    Replies: 17
    Last Post: 01-20-2012, 01:22 PM
  4. How do I reformat my database from all uppercase to proper?
    By Princey in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-10-2006, 04:59 PM
  5. Converting All Caps to Proper casing
    By jermsalerms in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2006, 09:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1