Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time Error 1004
I have a line of code which all of sudden stopped working. Can't figure out
why. I am getting an error message saying "Run Time Error 1004. Unable to set Color Index Property of the Interior Class." I swear it was working ten minutes ago. In the immediate window I get: ?sh.Cells.Interior.ColorIndex -4142 For Each sh In ActiveWorkbook.Worksheets sh.Cells.Interior.ColorIndex = xlNone sh.Cells.FormatConditions.Delete Next sh |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time Error 1004
Sorry the sheet somehow became protected!!!!!!!!!!
EM "ExcelMonkey" wrote: I have a line of code which all of sudden stopped working. Can't figure out why. I am getting an error message saying "Run Time Error 1004. Unable to set Color Index Property of the Interior Class." I swear it was working ten minutes ago. In the immediate window I get: ?sh.Cells.Interior.ColorIndex -4142 For Each sh In ActiveWorkbook.Worksheets sh.Cells.Interior.ColorIndex = xlNone sh.Cells.FormatConditions.Delete Next sh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Run time error 1004, General ODBC error | New Users to Excel | |||
run-time error '1004': Application-defined or object-deifined error | Excel Programming | |||
Run time error '1004': Generaol ODBC error | Excel Programming | |||
Run time error 1004 General ODCB Error | Excel Programming | |||
Application Run Time Error 1004 and Stack Error | Excel Programming |