Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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


--
blatkins
------------------------------------------------------------------------
blatkins's Profile: http://www.excelforum.com/member.php...o&userid=33639
View this thread: http://www.excelforum.com/showthread...hreadid=534123

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
One of lifes little mystery? JethroUK© New Users to Excel 21 October 11th 06 11:12 PM
MYSTERY!! WhytheQ Excel Discussion (Misc queries) 2 June 20th 06 11:00 AM
Mystery Cell Jim H. Excel Discussion (Misc queries) 4 March 24th 06 05:40 PM
Can anyone solve this mystery? JK Excel Programming 2 November 21st 04 08:59 PM
Commandbar Mystery Quaoar Excel Programming 2 September 29th 03 03:12 AM


All times are GMT +1. The time now is 03:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"