Version of Excel in Connection String

P

Prasun

Hello:

I am using the following connection string in my program


Code:

XLFileConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=" & filename & _
";Extended Properties=""Excel 8.0;HDR=YES;IMEX=1"""




Is there any other versions of Excel i can put in this connection string
instead of Excel 8.0. Can I put excel 9.0 or 10.0. Is it possible to put an
earlier version like 5.0 (is there an excel 5.0?).

I guess i want to know what are my options are for that value.

Thank You
Prasun
 
P

Paul Clement

¤ Hello:
¤
¤ I am using the following connection string in my program
¤
¤
¤ Code:
¤
¤ XLFileConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
¤ Source=" & filename & _
¤ ";Extended Properties=""Excel 8.0;HDR=YES;IMEX=1"""
¤
¤
¤
¤
¤ Is there any other versions of Excel i can put in this connection string
¤ instead of Excel 8.0. Can I put excel 9.0 or 10.0. Is it possible to put an
¤ earlier version like 5.0 (is there an excel 5.0?).
¤
¤ I guess i want to know what are my options are for that value.

Just use 8.0 - it's the latest (and probably last) version of the Excel ISAM driver.


Paul
~~~~
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top