+ Reply to Thread
Results 1 to 3 of 3

Fill Cell with a Specific Color

  1. #1
    Registered User
    Join Date
    12-17-2014
    Location
    Perth, Australia
    MS-Off Ver
    Windows 7
    Posts
    85

    Fill Cell with a Specific Color

    I want to be able to fill a cell(s) with a specific color, however I've only managed to do this with the below code, which doesn't have a large variety of colors to choose from (I think there is 56 colors to choose from in the colorIndex).

    Please Login or Register  to view this content.
    So say I wanted to fill a cell with R255, B242, G204, does anybody know how I would achieve this?

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Fill Cell with a Specific Color

    Try:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Fill Cell with a Specific Color

    Hi Jeckford,

    Thanks for the rep!

+ 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. Specific number of cell to fill with color based in a dynamic cell range
    By Blue_Wings in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-01-2015, 09:46 AM
  2. Specific number of cell to fill with color based in a dynamic cell range
    By Blue_Wings in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2015, 10:10 AM
  3. Replies: 5
    Last Post: 07-16-2014, 07:46 AM
  4. Macro to Fill Specific Rows and Columns with Color Based on Cell Value
    By MSmithson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2011, 09:45 PM
  5. Replies: 3
    Last Post: 07-08-2010, 06:48 PM
  6. Cell fill color. Row to match specific cell.
    By CADinDallas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2006, 09:10 AM
  7. Replies: 1
    Last Post: 05-27-2005, 01:05 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