I'm trying to delete any row that has "ReportNbr" in the range A2:A10000, here is what i have so far but the Rows(check).select line doesn't work.
Code:
Dim check As Variant
Set myrange = Range("A2:A10000")
For Each check In myrange
If check.Value = "ReportNbr" Then
If check.Value = "" Then
Exit Sub
End If
Rows(check).Select
Selection.Delete Shift:=xlUp
End If
Next