Philip,
I was a while active with these problems, then I got the idea that Paul
Clement made a hobby from it.
I have not seen Paul for some days now.
This is a sample I once made myself from the complex of all those rows in
the sample given.
\\\
Dim ConnectionString As String
ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=c:\test1\myExcel.xls;" & _
"Extended Properties=""Excel 8.0;HDR=NO"""
Dim Conn As New System.Data.OleDb.OleDbConnection(ConnectionString)
Dim da As New System.Data.OleDb.OleDbDataAdapter _
("Select * from [Sheet1$]", Conn)
Dim ds As New DataSet
da.Fill(ds, "Sheet1")
///
If you want more, google than in this newsgroup and/or the newsgroup General
like this.
http://groups.google.com/group/micr...ledb+excel&qt_g=1&searchnow=Search+this+group
I hope this helps,
Cor