+ Reply to Thread
Results 1 to 3 of 3

Automatic capital letter for each sentence First letter - how

  1. #1
    Registered User
    Join Date
    05-18-2015
    Location
    Saudi Arabia
    MS-Off Ver
    2013
    Posts
    31

    Automatic capital letter for each sentence First letter - how

    Hi

    in excel if i write a word in a column how to get the first letter automatically to capital.
    if i write a sentence in excel the first letter of that sentence should come as uppercase

    please support

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

    Re: Automatic capital letter for each sentence First letter - how

    If vba, look at the vb help about StrConv function with vbProperCase parameter.

    If not Proper function is the one you are looking for.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Automatic capital letter for each sentence First letter - how

    This is what Jindon meant.

    Place the following code on Sheet Module (not on standard module). To place the code on sheet module, right click the Sheet Tab --> View Code --> paste the following code into the opened code window --> Close the VBA Editor --> Save your workbook as Excel Macro-Enabled Workbook.

    The following code will do what you want for column A and if it is not the column A in actual workbook, just the change the column index in the line Target.Column = 1, here 1 is column index no. for column A.

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. lower case letter to capital letter
    By kuzna26 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2014, 03:49 AM
  2. [SOLVED] first letter small case & all letter capital case any coding / any trick / any formula
    By sonu_kumar444 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2012, 05:22 AM
  3. allow CAPITAL letter only
    By VICTOR5 in forum Excel General
    Replies: 3
    Last Post: 04-14-2011, 05:31 AM
  4. capital letter
    By holybull in forum Excel General
    Replies: 7
    Last Post: 09-27-2009, 04:30 PM
  5. Replies: 5
    Last Post: 07-13-2006, 12:15 AM
  6. [SOLVED] Default Capital letter for 1st letter of a word
    By Jeff in forum Excel General
    Replies: 6
    Last Post: 07-10-2006, 03:39 AM
  7. [SOLVED] Sentence with first letter in Capital, rest all in small.
    By Shrikant in forum Excel General
    Replies: 3
    Last Post: 09-01-2005, 07:05 AM

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