+ Reply to Thread
Results 1 to 3 of 3

Code for if a cell value has more that 5 characters

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2010
    Posts
    257

    Code for if a cell value has more that 5 characters

    I'm currently using a code within a Private sub that basically checks if a cell has a certain criteria then to do something

    Please Login or Register  to view this content.
    Currently I have what is above about 20 times with varying different words between the "" what i'm lookign to do is get rid of them all an just have it so it check if the cell has 5 characters or less. What could I use for this? If Cell.Value < len(5) maybe?

    Thanks in advance

    John

  2. #2
    Forum Contributor
    Join Date
    12-31-2012
    Location
    Jhang, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Code for if a cell value has more that 5 characters

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-14-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2010
    Posts
    257

    Re: Code for if a cell value has more that 5 characters

    That works. I've had to do it
    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)

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