+ Reply to Thread
Results 1 to 3 of 3

Search cell with specify ColorIndex

  1. #1
    Registered User
    Join Date
    10-01-2009
    Location
    Manassas, VA
    MS-Off Ver
    Excel 2007
    Posts
    86

    Search cell with specify ColorIndex

    Range SearchRng is a predefined range that I have!

    If I want to search SearchRng for text "Test" then I would use this code

    Please Login or Register  to view this content.
    However, instead of "Test", I want to find Cell with Interior.ColorIndex = 4

    Would you help please!?

    Thank you,

    NTB
    Last edited by NTB; 08-18-2011 at 02:52 PM.

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Search cell with specify ColorIndex

    Hi NTB, if you want to find a cell with a particular interior colour, than I would go with something like
    Please Login or Register  to view this content.
    You will have to substitute the range I used with yours and then add what you want to do to the cells once you find them though. Let me know if this helps.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Registered User
    Join Date
    10-01-2009
    Location
    Manassas, VA
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Search cell with specify ColorIndex

    Mordred: That is exactly what I currently have. Somehow I thought it is insufficient, so I was hoping for some faster find. Let's see if we have another method - if not I will close SOLVED this thread.

    Thank you once again!

+ 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