Remove a entire row

Post Reply
wwj
Posts: 2497
Joined: 27 Jan 2007 08:16

Remove a entire row

Post by wwj »

Code: Select all


    ' Remove duplicate Q at the same SP
    For outRow = maxOutRow To 3 Step -1
        outSP = Sheets(outSht).Cells(outRow, "C")    ' sp
        If IsEmpty(outSP) Then
            Worksheets(outSht).Rows(outRow).Delete
        End If
    Next outRow
    

Post Reply