Capital letters in a cell
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Capital letters in a cell

  1. #1
    Guest

    Default

     
    Is there a way to set a cell so that when you enter letters they are always in capital letter form?

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    =ActiveCell.Address
    Posts
    478
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I don't know.
    However, if there isn't a way then you could always just use the =UPPER() formula on the cells after they've been entered.

    Hope this helps.

  3. #3
    Board Regular Steve Hartman's Avatar
    Join Date
    Feb 2002
    Location
    Houston,Texas
    Posts
    417
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    You can use data validation to restrict the entry to upper case. This would not allow the user to enter a value until it was in upper case.

    You can also input your own error message that tells them what to do.

    [ This Message was edited by: Steve Hartman on 2002-03-05 07:57 ]

  4. #4
    Board Regular
    Join Date
    Feb 2002
    Posts
    384
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    You can modify this. Regards, Marc

    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    'Target is an argument which refers to the range being changed
    If Target.Column = 3 Then
    'this check is to prevent the procedure from repeatedly calling itself
    If Not (Target.Text = UCase(Target.Text)) Then
    Target = UCase(Target.Text)
    End If
    End If
    End Sub


User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com