Assuming the data is in columns A:M and column N is empty, your macro can:
1) test how many rows of data there are and loop through the rows one at a time
2) first test is in column N, only process rows where that row is empty in column N
3) after processing a row, the macro marks that row in column, then loops to the next row
4) When the macro is done, the workbook is saved to insure these flags are saved.
Basic syntax for all that:
Sub ProcessRows()
Dim LR As Long, Rw As Long
LR = Range("A" & Rows.Count).End(xlUp).Row
For Rw = 2 To LR
If Len(Range("N" & Rw)) = 0 Then
'your code here for doing stuff to this row
Range("N" & Rw) = "done"
End If
Next Rw
ActiveWorkbook.Save
End Sub
Bookmarks