+ Reply to Thread
Results 1 to 7 of 7

Format a cell with Capital/Small/Proper

  1. #1
    Forum Contributor
    Join Date
    01-14-2004
    Location
    India
    MS-Off Ver
    365
    Posts
    264

    Format a cell with Capital/Small/Proper

    Hi
    Can someone help me to format a cell with proper function. This is to be used in a cell to enter names and it has to covert the text automatically into "proper" function.
    Eg. if I enter in A1, "james lee" it should automatically change to James Lee.
    Thanks
    Appreciate clicking the * Add Reputation button on your left side, if you want say thanks to me

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Format a cell with Capital/Small/Proper

    Hi try use such event code
    Please Login or Register  to view this content.
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Format a cell with Capital/Small/Proper

    I would recommend you turn off events:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  4. #4
    Forum Contributor
    Join Date
    01-14-2004
    Location
    India
    MS-Off Ver
    365
    Posts
    264

    Re: Format a cell with Capital/Small/Proper

    Hi romperstomper
    Thanks your code is working but it is applicable for the entire sheet.
    But I wanted to use this code only for Cell C5,C6 and C7
    Also I have to use a different code for C8.
    When I enter a value in C8, i wanted to run a macro (Application.Run "Edit_A")
    Can you combine all these
    Thanks

  5. #5
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Format a cell with Capital/Small/Proper

    Perhaps simply:
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    01-14-2004
    Location
    India
    MS-Off Ver
    365
    Posts
    264

    Re: Format a cell with Capital/Small/Proper

    Thanks a lot romperstomper.... Give u star

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Format a cell with Capital/Small/Proper

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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