Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You said you did not use conditional formatting!
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Voskre" wrote in message ... I found the solution looking at http://www.cpearson.com/excel/CFColors.htm Thanks to everybody for any help I got. D "Bob Phillips" ha scritto nel messaggio ... Dominic, assuming that you are not using conditional formatting colouring, take a look at this page http://www.xldynamic.com/source/xld.ColourCounter.html Processing Coloured Cells It's quite a bit more complicated thatn your simple function, but it caters foir the defaults. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Voskre" wrote in message ... Hi, I'm using Excell 2000. In cell B1 I want to insert the color index of cell A1 and I'm using the following function copied from Internet: Function showColorIndex(targetcell) showColorIndex = targetcell.Interior.ColorIndex End Function In B1 I get the number -4142 and it can not be. Even for the next rows (i.e. B2 for A2 color, B3 for A3 color etc., all with differente colors) I always get -4142. What's wrong with that function as all AddIns are duly installed? Thanks for any help. Dominic. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell color index formula reference instead of =counta | Excel Discussion (Misc queries) | |||
Chart axes color index vs font color index | Charts and Charting in Excel | |||
How do I identify cell color for comparison? | Excel Worksheet Functions | |||
cell color index comparison | New Users to Excel | |||
Identify rows with certain background color? | Excel Programming |