Change color in excel from access

M

Michaël

Hello,

I'am trying from access to change the color of a cell in Excel, but it will
not succeed.

If ActiveCell.Interior.ColorIndex = 36 then
commands
End IF

When i do Msgbox ActiveCell.Interior.ColorIndex then i get allways the
value -4142.
What i'am doing wrong?

tx

Michaël
 
Top