Hello all,
I am trying to import a cav file into an access table via an excel userform using vba and was wondering if someone can help me out with coding this please.
I have got an connection to the access table using the following code.
Help appreciated...
Neemi
I am trying to import a cav file into an access table via an excel userform using vba and was wondering if someone can help me out with coding this please.
I have got an connection to the access table using the following code.
Code:
'// make Connection to access Database
cs = BuildConnectionString(eDBType.Access)
If cs <> "ERROR" Then
cn.Open cs
Else
Err.Description = "Unable to Make Connection to Access 'Commitments' Database"
Err.Number = 19990
End If
cn.Execute "DELETE * FROM tblStockOnHand"
*** NEED to import csv to tblStockOnHand ***
Help appreciated...
Neemi