deleting cells in a range
You don't care about row integrity?
Sub BB()
Set rng = Range("A3:J107")
last = rng.Count
For i = last To 1 Step -1
If rng(i).Value 10 Then
rng(i).Delete Shift:=xlShiftUp
End If
Next
End Sub
seems to work.
--
Regards,
Tom Ogilvy
"JulieD" wrote in message
...
hi
i need to step through the range A3:J107 deleting (move up) cells meeting
a
certain criteria (value 10) ... and i just can't seem to get the code
right, please help
Cheers
JulieD
|