In another question, I added a timer to some simple code, but in some runs it is giving me negative values, eg -4.65E-12. Any thoughts as to why this would happen?
[VBA] Sub Colours()
Dim cel As Range
Dim tim As Double
tim = Timer
For Each cel In Intersect(Range("A:O"), ActiveSheet.UsedRange)
Select Case cel
Case Is = 1
cel.EntireRow.Interior.ColorIndex = 6
End Select
Next
[a1] = Timer - tim
End Sub
[/VBA]