I have been trying o use the following Tutorial to manipulate data I have.
http://www.datawright.com.au/excel_resources/excel_access_and_ado.htm
When I get to the point where the data is moved from Excel to Access, the following code section crashes when it hits a date field that has no value.
How can I change the code to fill the access field with null?
http://www.datawright.com.au/excel_resources/excel_access_and_ado.htm
When I get to the point where the data is moved from Excel to Access, the following code section crashes when it hits a date field that has no value.
Code:
For i = 2 To Rw
rst.AddNew
For j = 1 To 15
rst(Cells(1, j).Value) = Cells(i, j).Value
Next j
rst.Update
Next i
How can I change the code to fill the access field with null?