Bypas Nil Values
Hi,
A bit thin on information but maybe this will get you started
Sub sonic()
lastrow = Cells(Cells.Rows.Count, "A").End(xlUp).Row
Set myrange = Range("A1:A" & lastrow)
For Each c In myrange
If c.Value < 0 Then
'do something
MsgBox c.Address
End If
Next
End Sub
Mike
"a m spock" wrote:
A formula delivers a result 0 or 1 in certain conditions in the cells in a
coluumn.
I need to start scanning from row 1 to bypass the initial 0 value cells to
reach the first positive value in the column.
How do I do it?
|