Results 1 to 6 of 6

delete multiple row based on criteria

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-26-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2019
    Posts
    244

    delete multiple row based on criteria

    hello,
    I need help with one issue (I uploaded excel worksheet with data) and I need this :
    if in column A in some row is text "today" then delete this row and delete all rows until in row B wont be empty cell

    I have start (If in A is "Today" then ... ) but thas's all

    Sub delete()
    Dim lngRow As Long
        lngRow = 1
        For lngRow = 1 To 24
        If Range("A" & lngRow) = "Today" Then
    
        
        End If
        Next    
    End Sub
    anyone who could help? THANKS !
    Attached Files Attached Files
    Last edited by miso.dca; 12-16-2009 at 05:24 AM.

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