Results 1 to 9 of 9

Capitalize first letter

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-25-2012
    Location
    U.K
    MS-Off Ver
    Excel 2016
    Posts
    101

    Capitalize first letter

    I cant get excel to capitalize the first letter of every word in a cell as i type any ideas.
    This is the code i have that doesn't work.


    Private Sub Change()
        Dim x As Range
        For Each x In Selection
            x.Value = StrConv(x.Value, vbProperCase)
        Next x
        
    End Sub
    Last edited by randall78; 07-14-2012 at 03:08 AM.

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