ThatRickGuy,
that didn't help, still comes up with the error. this is what i am doing
Dim conn As New OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; " & _
"data source='" & "C:\Temp\SSPortfolio.xls" & " '; " & _
"Extended Properties=Excel 8.0;" & "HDR=Yes;" & "IMEX=1")
'! Select the data from Sheet1 of the workbook.
Dim da As New OleDbDataAdapter("SELECT * FROM [SSPortfolio$]", conn)
Dim ds As New DataSet
da.Fill(ds)
DataGridView1.DataSource = ds.Tables(0)
does "Extended Properties=Excel 8.0" in the connection refers to interop library 8.0??? i have office 2003 installed, which uses interop library 11.0, cud that be a cause of error???