+ Reply to Thread
Results 1 to 2 of 2

making text in Title Case automatically

  1. #1
    Forum Contributor
    Join Date
    05-22-2006
    Posts
    103

    Arrow making text in Title Case automatically

    hi, how can i make all the text inputs be in Title Case format automatically, even if the user input a different case pattern?

  2. #2
    Gord Dibben
    Guest

    Re: making text in Title Case automatically

    Would require worksheet event code.

    As written, the code below affects all cells in columns A through H

    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    If Target.Column > 8 Then Exit Sub
    On Error GoTo ErrHandler
    Application.EnableEvents = False
    Target.Formula = Application.Proper(Target.Formula)
    ErrHandler:
    Application.EnableEvents = True
    End Sub

    Right-click on sheet tab and "View Code".

    Copy/paste the code into that module.


    Gord Dibben MS Excel MVP

    On Fri, 9 Jun 2006 17:50:52 -0500, tweety127
    <tweety127.295q1o_1149893704.0108@excelforum-nospam.com> wrote:

    >
    >hi, how can i make all the text inputs be in Title Case format
    >automatically, even if the user input a different case pattern?



+ 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