+ Reply to Thread
Results 1 to 3 of 3

Find Upper Case Text

  1. #1
    Registered User
    Join Date
    01-19-2005
    Posts
    17

    Find Upper Case Text

    I have searched the excel tips but can't find what I need, so maybe someone on the Forum can help me. I have a sheet with roughly 12,000 lines, in 2 of the columns I have text but the problem is, some of it is Proper Type and some of it is Upper Case. I need to be able to identify (not change) the Uppercase Text but remembering that the Propr Type has Cap at the begining. Is this possible to do?

  2. #2
    Bob Phillips
    Guest

    Re: Find Upper Case Text


    For Each cel In ACtivesheet.UsedRange
    If cell.value = UCase(cel.Value) Then
    Msgbox cel.Address & " is Upper Case"
    End If
    Next cel

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "John1950" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have searched the excel tips but can't find what I need, so maybe
    > someone on the Forum can help me. I have a sheet with roughly 12,000
    > lines, in 2 of the columns I have text but the problem is, some of it
    > is Proper Type and some of it is Upper Case. I need to be able to
    > *identify* (not change) the Uppercase Text but remembering that the
    > Propr Type has Cap at the begining. Is this possible to do?
    >
    >
    > --
    > John1950
    > ------------------------------------------------------------------------
    > John1950's Profile:

    http://www.excelforum.com/member.php...o&userid=18671
    > View this thread: http://www.excelforum.com/showthread...hreadid=488145
    >




  3. #3
    Don Guillett
    Guest

    Re: Find Upper Case Text

    Try

    Sub finduppercase()
    For Each c In Selection
    If Len(c) > 0 And c = UCase(c) Then MsgBox c.Address
    Next
    End Sub

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "John1950" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have searched the excel tips but can't find what I need, so maybe
    > someone on the Forum can help me. I have a sheet with roughly 12,000
    > lines, in 2 of the columns I have text but the problem is, some of it
    > is Proper Type and some of it is Upper Case. I need to be able to
    > *identify* (not change) the Uppercase Text but remembering that the
    > Propr Type has Cap at the begining. Is this possible to do?
    >
    >
    > --
    > John1950
    > ------------------------------------------------------------------------
    > John1950's Profile:
    > http://www.excelforum.com/member.php...o&userid=18671
    > View this thread: http://www.excelforum.com/showthread...hreadid=488145
    >




+ 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