Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > OpenSchema(adSc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 4216 of 4320
Post > Topic >>

OpenSchema(adSchemaTables) from Excel 2007 returns nothing

by =?Utf-8?B?UmFsZiBaaWxsZXI=?= <RalfZiller@[EMAIL PROTECTED] Apr 23, 2008 at 06:58 AM

If I connect via ado in VBA in Excel 2007 to an Excel sheet 
(Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\test.xls";Extended 
Properties="Excel 8.0;HDR=No;") and call
Set RS = conn.OpenSchema(adSchemaTables)
the Recordset is empty. If I run the same code in Excel 2003 the Recordset

gets filled with the expected data.
Is there a way that I can use the code out of Excel 2007?
I do not want to open the Excel sheet as I just need to copy data from the

sheet which is much much faster via ADO than to actually open the excel
sheet.
 




 5 Posts in Topic:
OpenSchema(adSchemaTables) from Excel 2007 returns nothing
=?Utf-8?B?UmFsZiBaaWxsZXI  2008-04-23 06:58:00 
Re: OpenSchema(adSchemaTables) from Excel 2007 returns nothing
"Bob Barrows [MVP]&q  2008-04-23 10:34:03 
Re: OpenSchema(adSchemaTables) from Excel 2007 returns nothing
=?Utf-8?B?UmFsZiBaaWxsZXI  2008-04-23 07:50:00 
Re: OpenSchema(adSchemaTables) from Excel 2007 returns nothing
=?Utf-8?B?UmFsZiBaaWxsZXI  2008-04-23 08:02:03 
Re: OpenSchema(adSchemaTables) from Excel 2007 returns nothing
"Bob Barrows [MVP]&q  2008-04-23 11:19:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:42:55 CST 2008.