BUG: 2nd Insert Statement Fails On a Recreated Table in ExcelLast reviewed: December 16, 1996Article ID: Q141809 |
The information in this article applies to:
BUG#: 2399 (QJET)
SYMPTOMSIf a Microsoft Excel worksheet is deleted before dropping the table in the worksheet, the following error occurs on the second insert into a created table of the same name as the deleted table:
[Microsoft][ODBC Excel Driver] Can't expand named range. WORKAROUNDIf the table is dropped using the SQL statement "drop table table_name" before the worksheet is deleted, then every thing works fine.
STATUSMicrosoft has confirmed this to be a problem in the Excel ODBC Driver version 3.40.2225. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONSteps to reproduce this problem in 32-bit ODBC Test:
CREATE TABLE oof (with two fields of any datatype) insert into oof values(..data..) insert data oof values(..data..)6. Fulldisconnect
CREATE TABLE oof (with same table name and field names) insert into oof values (..data..) insert into oof values (..data..)SQLExecDirect fails on the second insert with this error:
Error:[Microsoft][ODBC Excel Driver]Can't expand named range |
Additional reference words: 3.40.2225 ODBC Excel ODBC Driver
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |