Dear All,
I'm using Excel in Office 2000 and am writing a program in VBA that needs to check for a cell background to be Red or Yellow or Green. I tried using eg:
if Selection.Interior.colorindex = 4 then . . .
But this doesn't work - I had hoped you could just check for cell(x,y).backcolor= vbRed or similar...
Any clues ? ? ?
Thanx in advance
Snorky X-)
I'm using Excel in Office 2000 and am writing a program in VBA that needs to check for a cell background to be Red or Yellow or Green. I tried using eg:
if Selection.Interior.colorindex = 4 then . . .
But this doesn't work - I had hoped you could just check for cell(x,y).backcolor= vbRed or similar...
Any clues ? ? ?
Thanx in advance
Snorky X-)