Programming in excel is new to me.
I want to delete rows of imported data based on comparing
the data in column M. Column M is where the batch numbers
are located. I have made several attempts to write a code
that will delete rows that do not contain numbers, or even
just the blank rows.
Please help.
I need to also understand exactly what is wrong, so I
won't make the same mistakes next time.
The following is the latest attempt:
Sub CheckBatch()
..ActiveSheet
If Field13 = (xlCellTypeBlanks) Then EntireRow.Delete
End Sub
'delete rows without a batch number
Bookmarks