I have written code to delete rows from row 4 onwards where "Vin" appears in Col B
When running the macro, none on the rows from Row 4 in delete where "Vin" appears in B4 onards
It would be appreciated if someone could amend my code
When running the macro, none on the rows from Row 4 in delete where "Vin" appears in B4 onards
Code:
Sub Remove_Duplicate_Headers()
With Sheets("Stock Detail")
.Range("B4").AutoFilter 1, "Vin*"
.AutoFilter.Range.Offset(1).EntireRow.Delete
.AutoFilterMode = False
End With
End Sub
It would be appreciated if someone could amend my code