+ Reply to Thread
Results 1 to 3 of 3

Is it possible to display the number of characters in a cell

Hybrid View

  1. #1
    Paul K.
    Guest

    Is it possible to display the number of characters in a cell

    I would like to click on a cell and obtain a character count. Is it possible?

  2. #2
    Bob Phillips
    Guest

    Re: Is it possible to display the number of characters in a cell

    'This is worksheet event code, which means that it needs to be
    'placed in the appropriate worksheet code module, not a standard
    'code module. To do this, right-click on the sheet tab, select
    'the View Code option from the menu, and paste the code in.


    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Not IsEmpty(Target.Value) Then
    MsgBox Len(Target.Value)
    End If
    End Sub

    --

    HTH

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


    "Paul K." <PaulK@discussions.microsoft.com> wrote in message
    news:22983985-B875-46E2-B54D-1C2933ADCB4D@microsoft.com...
    > I would like to click on a cell and obtain a character count. Is it

    possible?



  3. #3
    Paul K.
    Guest

    Re: Is it possible to display the number of characters in a cell

    Bob:
    Thank you for your help, it works great, this is going to be a great time
    saver today!
    Paul

    "Bob Phillips" wrote:

    > 'This is worksheet event code, which means that it needs to be
    > 'placed in the appropriate worksheet code module, not a standard
    > 'code module. To do this, right-click on the sheet tab, select
    > 'the View Code option from the menu, and paste the code in.
    >
    >
    > Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    > If Not IsEmpty(Target.Value) Then
    > MsgBox Len(Target.Value)
    > End If
    > End Sub
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Paul K." <PaulK@discussions.microsoft.com> wrote in message
    > news:22983985-B875-46E2-B54D-1C2933ADCB4D@microsoft.com...
    > > I would like to click on a cell and obtain a character count. Is it

    > possible?
    >
    >
    >


+ 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