Thanks all for you replies, low as my brain is I finally got it to work.
Only problem is, for it to work i have to save/close and reopen the file. It
dosent seem to update on the fly.
Missile
tools>options>calculation set to automatic, if you are using a UDF that is
non volatile press F9 to calculate

Signature
Regards,
Peo Sjoblom
Portland, Oregon
> Thanks all for you replies, low as my brain is I finally got it to work.
> Only problem is, for it to work i have to save/close and reopen the file.
[quoted text clipped - 28 lines]
>> >
>> > Thanks
Max - 22 Jan 2006 22:55 GMT
Thanks, Peo !
Missile: Yes, forcing recalc is one of 2 constraints highlighted by Bob
under the section "Constraints" in his "Processing Coloured Cells" page
(link provided earlier, part extract below). The other is that the UDF
(presently) does not count colours set by conditional formatting.
" .. The first shortcoming is that changing a cell's colour or the text
colour does not trigger the Excel calculate event. This is not a shortcoming
of the UDF, but of Excel's calculation event, but what this means is that
any formula that uses the Colorindex UDF to calculate a cell's colour will
not update should that cell's colour change. ... "
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---