Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm using ADO with the Excel ODBC driver to query Excel €˜tables, identified in the FROM clause by the worksheet name, i.e. SELECT * FROM [MySheet$]. My €˜table (i.e. worksheet) contains 160 rows of data. My problem is that when querying, the driver believes that 11 empty rows below the data are also part of the €˜table. According to Microsoft, the €˜table, when querying Excel in this way, is defined as the €˜UsedRange of the worksheet specified - see http://support.microsoft.com/kb/278973/EN-US/. However, when I check the number of rows in ActiveWorksheet.UsedRange it correctly consists of the first 160 rows only. Although I *could* workaround by building a string referring to the range of the UsedRange object, and including that in the FROM clause rather than just the worksheet name, I'd like to work out what's going on! I'm wondering if it's a bug in the Excel ODBC Driver... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Free XML ODBC driver for EXCEL | Excel Discussion (Misc queries) | |||
linking two workbooks with ODBC & the Excel Driver | Excel Programming | |||
xl odbc driver, Excel 2003 | Setting up and Configuration of Excel | |||
which odbc excel driver is the best? | Excel Programming | |||
[ODBC Excel Driver] Too few parameters. Expected 1. | Excel Programming |