+ Reply to Thread
Results 1 to 3 of 3

Find Closest Color

  1. #1
    Registered User
    Join Date
    07-03-2014
    Location
    East Lansing
    MS-Off Ver
    2010
    Posts
    20

    Find Closest Color

    I have a range of cells in sheet 1 which have a few basic colors. And in sheet 2, I have a button that converts an image to colored cells using pixel colors. After using said button, sheet 2 is filled with a bunch of random colors. Now I am wondering if I can create a sub which takes a cell in sheet 2 and converts it to the most similar color of the range in sheet 1. The problem is, I don't think I can use the color index, because I don't see any correlation between the color index number and the color it represents.

  2. #2
    Registered User
    Join Date
    06-18-2014
    Location
    Dallas, Texas
    MS-Off Ver
    Home and Business 2010
    Posts
    84

    Re: Find Closest Color

    Here is a link to a website which list the color index and what number represents which color. http://dmcritchie.mvps.org/excel/colors.htm

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Find Closest Color

    I'm not sure what you are doing, but you might want to look at this. (Unfortuantly the old Colors collection has been replaced)
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ 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] Find closest values to a given value?
    By SneakyPiglet in forum Excel General
    Replies: 4
    Last Post: 04-23-2013, 08:49 AM
  2. [SOLVED] How to find the a value closest to a given value
    By BNCOXUK in forum Excel General
    Replies: 2
    Last Post: 02-15-2013, 06:12 AM
  3. Using Find method to find the closest value.
    By Yappa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-26-2008, 07:59 AM
  4. Find closest value
    By Arne Hegefors in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2006, 10:05 PM
  5. Replies: 6
    Last Post: 12-02-2005, 07:55 PM

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