re : Finding the datas and deleting datas which are not found.
Simply apply in your code
Rows(dayfrom +1 & ":31").EntireRow.Delete
where dayfrom is 5 in your example.
Regards,
Stefi
ddiicc ezt *rta:
Hi,
I have a column (AZ:AZ) header name "DAY", this column consist of 1 to 31
which the number stand for the day of the month. Let say, i would like to
day number 5 and delete the rest of the rows which does not contain the day
number 5,
how do I go abt i writing the code for this?? Possible??
Thanks
Tony
|