Dim WrrtyEnddate As DateTime = Me.txtWRRTYEnd2.Text
Dim Daysleft as Int32 = WrrtyEnddate.Subtract(todaysdate).Days
I didn't read this completely, I thought WrrtyEnddate was a class he had written. So, jmc is write. This code has nothing to do with your datagridview. So it's hard to understand what your trying to do.