+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Change text colour when crossing character limit

  1. #1
    Registered User
    Join Date
    02-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    16

    Change text colour when crossing character limit

    Hi,

    In a cell when I type a word more than 22 characters the text should turn red.

    I used data validation for character limit but not able to construct any formula to turn the text red when it crosses the limit.Don't want any error warning as given by data validation.

    I also tried with conditional formatting but no success.

    PLEASE HELP !!!!

    Sorry if its a repost.

    Thanks in advance

    Vivek

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Change text colour when crossing character limit

    you can use the use a formula option in conditional formatting then put
    =LEN(A1)>22 however it will not change while you are typing only after you exit the cell
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    16

    Re: Change text colour when crossing character limit

    thanks a lot martin

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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