Private Sub Form_Open(Cancel As Integer) Dim sql As String Dim rs As ADODB.Recordset Dim cn As ADODB.Connection ' Open the connection. Set cn = New ADODB.Connection With cn .Provider = ...
If you're importing data from a csv file, and you're doing it in a vba function, you could write any code you want to add it to a table.<BR><BR>I'm not sure if you've already imported the csv data, or ...