+ Reply to Thread
Results 1 to 3 of 3

ColorIndex Mystery

  1. #1
    Registered User
    Join Date
    04-19-2006
    Posts
    1

    ColorIndex Mystery

    If I use the Fill Color icon on the toolbar and set a cell color to red, then the color index equals 3. However, if I use Conditional Formatting and set the color of a cell to red, then the color index equals 2. Why the difference?

    Brian

  2. #2
    Tom Ogilvy
    Guest

    RE: ColorIndex Mystery

    Conditional formatting colors can not be examined with the colorindex
    property.

    the color index property always displays the interior color of the cell
    without conditional formatting applied.

    See Chip Pearson's page:
    http://www.cpearson.com/excel/CFColors.htm

    --
    Regards,
    Tom Ogilvy


    "blatkins" wrote:

    >
    > If I use the Fill Color icon on the toolbar and set a cell color to red,
    > then the color index equals 3. However, if I use Conditional Formatting
    > and set the color of a cell to red, then the color index equals 2. Why
    > the difference?
    >
    > Brian
    >
    >
    > --
    > blatkins
    > ------------------------------------------------------------------------
    > blatkins's Profile: http://www.excelforum.com/member.php...o&userid=33639
    > View this thread: http://www.excelforum.com/showthread...hreadid=534123
    >
    >


  3. #3
    Ivan Raiminius
    Guest

    Re: ColorIndex Mystery

    Hi Brian,

    colorindex property doesn't show actual cell color when conditional
    formatting is in effect. It shows the cell color as if no conditional
    format would exist.

    Regards,

    Ivan


+ 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