Sub ADOFromExcelToExcel()
Dim cn As ADODB.Connection, rs As ADODB.Recordset, r As Long
Set cn = New ADODB.Connection
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0; " & _
"D:\EFPM\Database EFPM\Destinatefld\Logbook Hauling.xlsx;"
Set rs = New ADODB.Recordset
rs.Open "[DailyLog$]", cn, adOpenKeyset, adLockOptimistic, adCmdTable
r = 2 ' the start row in the worksheet
Do While Len(Range("A" & r).Formula) > 0
With rs
.AddNew ' create a new record
' add values to each field in the record
.Fields("No") = Range("A" & r).Value
.Fields("Date") = Range("B" & r).Value
.Fields("Site") = Range("C" & r).Value
' add more fields if necessary...
.Update ' stores the new record
End With
r = r + 1 ' next row
Loop
rs.Close
Set rs = Nothing
cn.Close
Set cn = Nothing
End Sub