+ Reply to Thread
Results 1 to 4 of 4

delete certain rows VBA - with condition and containing zero

  1. #1
    Registered User
    Join Date
    11-26-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    20

    delete certain rows VBA - with condition and containing zero

    Hi

    I wonder if you can help, I cant figure out a code for deleting rows. In the attached workbook, I would like to delete / get rid off rows where the field has LEOM-BK and PECA-BK - this can be found only in column D. All rows contain LEOM-Bk and PECA-BK are not needed.

    And also in column I, I would like to delete any that contain absolute zero.

    Can somebody help?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: delete certain rows VBA - with condition and containing zero

    Give this a try

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: delete certain rows VBA - with condition and containing zero

    hi kamran_ijazz, option
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-26-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: delete certain rows VBA - with condition and containing zero

    thanks guys

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1