اقصد ال NULL في اول سطرين ع اليمين خالص واضحه في الصوره
الكود
If Dgv.Rows®.Cells©.Value IsNot Nothing Then
ExlWorkSheet.Cells(r + 2, c + 1) = Dgv.Rows®.Cells©.Value
End If
الكود
If Dgv.Rows®.Cells©.Value IsNot Nothing Then
ExlWorkSheet.Cells(r + 2, c + 1) = Dgv.Rows®.Cells©.Value
End If
