Problem Note 60543: The error "No cell rectangle in range" occurs when you are reading an XLSX file for a named range of one cell
When you import XLSX files using the IMPORT procedure with SAS/ACCESS® Interface to PC Files, you might receive the following error:
proc import datafile = "C:\temp\test.xlsx" dbms = xlsx out = onecell replace;
range = "One";
getnames = no;
run;
No cell rectangle in range
Requested Input File Is Invalid
ERROR: Import unsuccessful. See SAS Log for details.
The problem occurs when the named range includes only one cell.
Workaround
To circumvent the problem, specify the range using the row-column format shown in this example:
proc import datafile = "C:\temp\test.xlsx" dbms = xlsx out = onecell replace;
range="Sheet1$A1:A1";
getnames = no;
run;
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Windows Vista for x64 | 9.3 | | 9.3 TS1M0 | |
Windows Vista | 9.3 | | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Ultimate 32 bit | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional x64 | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional 32 bit | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Home Premium x64 | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Home Premium 32 bit | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Enterprise 32 bit | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows XP Professional | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 R2 | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2003 for x64 | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft® Windows® for x64 | 9.3 | 9.4_M3 | 9.3 TS1M0 | 9.4 TS1M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Running PROC IMPORT on a cell named range that contains just one cell in an XLSX worksheet causes the error "No cell rectangle in range."
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2017-07-20 12:37:39 |
Date Created: | 2017-05-29 08:16:59 |