+ Reply to Thread
Results 1 to 4 of 4

Macro to find character count in cell

Hybrid View

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Jupiter
    MS-Off Ver
    Excel 2013
    Posts
    78

    Macro to find character count in cell

    I need a macro that finds out how many characters there are in cell and if there are more than a certain amount I need to run another macro.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to find character count in cell

    Does this help?


    Sub skip2mylew()
    
    MsgBox Len(ActiveCell)
    
    If Len(ActiveCell) > 3 Then
        'DO SOMETHING
    End If
    End Sub

  3. #3
    Registered User
    Join Date
    01-14-2013
    Location
    Jupiter
    MS-Off Ver
    Excel 2013
    Posts
    78

    Re: Macro to find character count in cell

    Thanks John. Just what I needed.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to find character count in cell

    You're welcome. Glad to help out and thanks for the feedback.

+ 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. [SOLVED] how would I find the display excel with longest character count over range
    By bjcowen9000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-07-2013, 06:07 PM
  2. Macro to find character and delete all text in cell after the character
    By SpencerRichman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 06:08 PM
  3. Display Active Character Count + Limit Character Per Cell
    By euronail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2011, 04:59 AM
  4. Character Count Macro
    By BluTalon in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-09-2008, 06:24 AM
  5. Character count in a cell
    By estrella921 in forum Excel General
    Replies: 4
    Last Post: 11-20-2007, 11:59 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