+ Reply to Thread
Results 1 to 5 of 5

Capitalize first letter in a cell

  1. #1
    Registered User
    Join Date
    02-21-2012
    Location
    Kansas
    MS-Off Ver
    Excel 2016
    Posts
    16

    Capitalize first letter in a cell

    I have several shortcuts that I use for inserting text. Sometimes it needs to be capitalized......how do I set it up to do this automatically?
    Last edited by oskie89; 08-03-2012 at 03:46 PM.

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

    Re: Capitalize first letter in a cell

    Hi
    So, You use any code (VBA) in those shortcuts or what?
    Regards

    tom1977

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

  3. #3
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Capitalize first letter in a cell

    try this formula

    =UPPER(LEFT(A1,1))&RIGHT(A1,LEN(A1)-1)

    to get vba code, just put this formula into your code, with something Range("A1") instead of A1 in my formula

  4. #4
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: Capitalize first letter in a cell

    You can use this code to get the job done.
    Please Login or Register  to view this content.
    Last edited by day92; 08-04-2012 at 12:51 AM.

  5. #5
    Registered User
    Join Date
    02-21-2012
    Location
    Kansas
    MS-Off Ver
    Excel 2016
    Posts
    16

    Re: Capitalize first letter in a cell

    No codes, just shortcuts on typing text......tog for topography, cr for crop, pas for pasture, etc.

+ 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