Hello,
i have a little issue with a loop. it should loop through until it find a cell with a value, let say apple
and move through the rest of the loop. But when it gets to the value apple it's not doing anything and go's to the end.
How can i fix this issue??
thanks in advance
i have a little issue with a loop. it should loop through until it find a cell with a value, let say apple
and move through the rest of the loop. But when it gets to the value apple it's not doing anything and go's to the end.
Code:
For w = 4 To lr - 1
If IsEmpty(dbsheet.Cells(w, 1)) = False Then
If dbsheet.Cells(w, 2).Interior.Color = lColor Then
x = x + 1
End If
If Databasesheet.Cells(y, 8) = 0 Then
GoTo nextrng
End If
i = i + 1
End If
Next
How can i fix this issue??
thanks in advance