Solved

ADO properties for Excel Information

Posted on 2002-07-20
5
297 Views
Last Modified: 2011-04-14
How can I get the names of an Excel workbook's Worksheets into an ADO recordset via an ODBC connection?

Does the Excel ODBC driver support schema type properties to accomplish this?

Any suggestions on getting the Worksheets Collection into an ADO recordset would be appreciated.

Thanks
0
Comment
Question by:Loggerhead
5 Comments
 
LVL 1

Expert Comment

by:d_glenn
ID: 7167320
Learning . . .
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7167411
There is another question similar to this.
I think ODBC doesn't provide that but may i wrong.
0
 

Accepted Solution

by:
trnarahari earned 100 total points
ID: 7172095
Use ADOX Catalog, Table, Column Objects to get the Complete Information about WorkSheets in a Workbook and also columns in a each of the Worksheet.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8031936
Hi Loggerhead,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept trnarahari's comment(s) as an answer.

Loggerhead, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8095560
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now