+ Reply to Thread
Results 1 to 4 of 4

search for a given number and paint the cells in colors

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    chile
    MS-Off Ver
    Excel 2007
    Posts
    12

    search for a given number and paint the cells in colors

    hi!

    i put numbers from 1 to 104 in cells from b2 to n9. i want to enter eny number in a textbox and that it searchs me were is that number and every number <= to the introduce one, paint it of a diferent color. i thought of something like this. i know its not correct, but just as an example

    Please Login or Register  to view this content.
    thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: search for a given number and paint the cells in colors

    Hi.

    Try this code:

    Please Login or Register  to view this content.
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: search for a given number and paint the cells in colors

    Have a look at the attached.

    Not what you want I know but it might give you some ideas.
    Attached Files Attached Files
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    01-24-2013
    Location
    chile
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: search for a given number and paint the cells in colors

    thanks! very useful!

+ 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