+ Reply to Thread
Results 1 to 4 of 4

Delete rows where value < 100,000

Hybrid View

  1. #1
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Delete rows where value < 100,000

    Hello & Welcome to the Board,

    Try...

    Sub FilterDelete()
        With Range("B1", Range("B" & Rows.Count).End(xlUp))
            .AutoFilter Field:=1, Criteria1:="<100,000"
            .Offset(1).Resize(.Rows.Count - 1).EntireRow.Delete
            .AutoFilter
        End With
    End Sub
    HTH
    Regards, Jeff

  2. #2
    Registered User
    Join Date
    10-23-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Delete rows where value < 100,000

    Worked like a charm.
    Thank you so much!

+ 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