Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
ADO connection to Excel 2007 *.xlsx files?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="GS, post: 6453437"] Robert Crandal brought next idea : It's with all the double quotes!!! Try this: szConnect = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "DataSource=C;\MyData\data2.xls;" & - "ExtendedProperties=""Excel 8.0;HDR=No;IMEX=1"";" Note that while multiple ExtendedProperties are wrapped in double quotes AND delimited by the ; character, the string must be ended with another ; character followed by the normal closing double quote. IOW, your string is missing the ; character before the closing double quote! [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
ADO connection to Excel 2007 *.xlsx files?
Top