You are on page 1of 1

sub test()

stop
for x = 0 to 10
if cells(x,y)>z then
cells (x,1)=x
else mm
end if
next x
end sub
lastrow=cells(rows.count,1).end(xlup).row
range("a2:c" & lastrow).clear

You might also like