Results 1 to 7 of 7

Code to change value to ProperCase

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Code to change value to ProperCase

    Hi.
    I am trying to automatically change Range("N8") to "ProperCase". Can anyone tell me how and where to add this to the code?
    code:
    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
        If Target.Address <> "$F$14" And Target.Address <> "$E$3" And Not Target.Column > 12 Then
            On Error GoTo ErrHandler
            Application.EnableEvents = False
            Target.Formula = UCase(Target.Formula)
        End If
    ErrHandler:
            Application.EnableEvents = True
    
    End Sub
    Thanks in advance
    Last edited by kosherboy; 06-25-2014 at 05:49 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 07-09-2012, 04:15 PM
  2. UpperCase to Propercase
    By Jeniffer in forum Excel General
    Replies: 14
    Last Post: 06-11-2012, 02:51 AM
  3. Replies: 15
    Last Post: 04-17-2012, 08:19 AM
  4. ProperCase in vba
    By noodle48 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2011, 03:27 PM
  5. Help with VBA for propercase
    By boolean in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-27-2011, 04:52 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