Consulting

Results 1 to 2 of 2

Thread: delete entire rows

  1. #1

    delete entire rows

    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

  2. #2
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    If you want to delete the entire row from 701 to 100 then[VBA]Rows("701:1000").EntireRow.Delete[/VBA]but 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).........?
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •