PDA

View Full Version : delete entire rows



reza_doang
09-14-2010, 11:23 PM
hi all,

i need your help.
now i'm doing as data entry, and to simple my work and save my time i need vba code.
how to delete entire rows based on col B.
example, col A have data till A1000 and col B have data till B700, based on B using macro, delete entire rows from B701 till A1000/A last cells.
This is only sample, because data in col A and col B may different.

thanks

Simon Lloyd
09-15-2010, 12:55 AM
If you want to delete the entire row from 701 to 100 thenRows("701:1000").EntireRow.Deletebut we need more from you on why you want to delete the entire rows, based on what criteria, over what range (either the length of A or B).........?