Answers for "delete rows in excel vba code"

VBA
0

delete rows in excel vba code

Sub DeleteRowswithSpecificValue()
For i = Selection.Rows.Count To 1 Step -1
If Cells(i, 2).Value = "Printer" Then
Cells(i, 2).EntireRow.Delete
End If
Next i
End Sub
Posted by: Guest on April-28-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language