I write a module in excel that works perfectly in excel 2000.
If I open the workbook in excel 97 I get the run-time error 1004: "Unable to set colorindex property of the font class.
The instruction is:
ActiveSheet.Cells(4, 3).Font.ColorIndex = 1
What's wrong in 97.
BTW the workbook is protected but I don't need unprotect it to change the colorindex property. If I tried to use the method unprotect I get an error too.
Any clue??
If I open the workbook in excel 97 I get the run-time error 1004: "Unable to set colorindex property of the font class.
The instruction is:
ActiveSheet.Cells(4, 3).Font.ColorIndex = 1
What's wrong in 97.
BTW the workbook is protected but I don't need unprotect it to change the colorindex property. If I tried to use the method unprotect I get an error too.
Any clue??