Error Message 'Cannot expand named range' with Excel and HSODBC
(Doc ID 466338.1)
Last updated on MAY 11, 2022
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 9.2 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Microsoft Windows (32-bit)
I use HSODBC with ODBC driver for MS Excel.
I've an Excel workbook with a sheet like below:
In Excel, I defined a named range of cells called 'my_range' for the third rows:
I want to insert data in the named range of cells 'my_range' and I get this error message:
insert into my_range@excel values ('e',50)
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_Execute: errors.h (1645): ;
[Microsoft][ODBC Excel Driver] Cannot expand named range. (SQL State: S1000; SQL Code: -5034)
ORA-02063: preceding 2 lines from EXCEL
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document