+ Reply to Thread
Results 1 to 3 of 3

String Character Length?

  1. #1
    Forum Contributor
    Join Date
    09-13-2008
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    120

    String Character Length?

    I'm trying to figure out how to calculate the character length of a string entered through an input box. so if the input is "ab" i want to have '2' and if its "ah4ifd" i want to have '6'. Any easy code to do this?

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    The Len function will do that.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    07-18-2008
    Location
    India
    Posts
    68

    String Character Length?

    Try this:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 08-31-2013, 12:30 PM
  2. inputbox for simple verification purposes?
    By durandal05 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-08-2008, 06:03 PM
  3. Inserting dashes in a 15 character string
    By valdyr in forum Excel General
    Replies: 3
    Last Post: 01-25-2008, 02:16 AM
  4. Replies: 7
    Last Post: 09-01-2007, 04:29 PM
  5. Extract the nth character in a string of text
    By Chopin in forum Excel General
    Replies: 2
    Last Post: 10-10-2006, 07:05 AM

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