I have a collection of HTAs and VBScripts that heavily rely on Excel automation.
One of the very heavily used items is .interior.colorindex where I set (or read) the color of a cell to convey information.
My question is, is there a way to use the cell color as a part of a cell formula?
For example, I'd like to count the number of "Lime" cells in column "C".
I tried: "=countif(C2:C129,interior.colorIndex=4)", and it didn't generate a formula error, but it didn't count the cells either.
Is there a way to do this without writing an external function?
DAS