Solved

ADO properties for Excel Information

Posted on 2002-07-20
5
296 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
Comment Utility
Learning . . .
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 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

10 Experts available now in Live!

Get 1:1 Help Now