If you're always adding a record, you could use this:
Code:
For irow = 0 To DgvQuarCommit.Rows.Count - 2