Macro to turn on/off rowliner?
Ryk,
Just tested code ... in order for the second bit of code to work
properly, you should rather replace previous suggestion by following :
If Range("A1").Value = 0 Then
Cells(1, 1).Resize(1, cnNUMCOLS).Interior.ColorIndex = xlNone
Exit Sub
Else
.....
End If
End Sub
HTH
Cheers
Carim
|