Dim min As Integer = 180123110
Dim max As Integer = 180123116
Dim cnt As Integer = Tables("表A").Rows.Count
Dim ct2 As Integer = cnt
Tables("表A").AddNew(20)
Dim str() As String = {"第一列","第二列","第三列","第四列"}
For i As Integer = 0 To str.Length - 1
ct2 = cnt
Dim lst As List(Of String) = DataTables("表A").GetValues(str(i),str(i) & " Is not null")
For j As Integer = min To max
If lst.Contains(cstr(j)) = False
Tables("表A").Rows(ct2)(str(i)) = j
ct2 += 1
End If
Next
Next