Hi, thanks for all the replies.
the code i have for exporting my data to a database is this
Sub ExportToDB()
Dim cn As ADODB.Connection, rs As ADODB.Recordset, row As Long
Set cn = New ADODB.Connection
cn.Open "Provider=Microsoft.ACE.OLEDB.12.0; " & _
"Data...