wayneshirley
Board Regular
- Joined
- Jun 23, 2003
- Messages
- 140
Hi there,
I have a piece of vba that looks at data in column A. When it finds "7999" and "8999" it deletes the entire row.
Is it possible to add "A401" and "A451" to this?
Code
With Range("A1", Range("A" & Rows.Count).End(xlUp))
.AutoFilter Field:=1, Criteria1:="7999", Operator:=xlOr, _
Criteria2:="8999"
.Offset(1).EntireRow.Delete
.AutoFilter
End With
Thank you.
I have a piece of vba that looks at data in column A. When it finds "7999" and "8999" it deletes the entire row.
Is it possible to add "A401" and "A451" to this?
Code
With Range("A1", Range("A" & Rows.Count).End(xlUp))
.AutoFilter Field:=1, Criteria1:="7999", Operator:=xlOr, _
Criteria2:="8999"
.Offset(1).EntireRow.Delete
.AutoFilter
End With
Thank you.