Usage Note 12628: Syntax for specifying worksheet name with spaces using LIBNAME engine
for Excel
The following is an example of the correct syntax to specify an Excel
worksheet name that contains spaces, after assigning a libref to the
Excel workbook file using the Excel LIBNAME engine:
libname mylib odbc dsn=Excel;
proc print data=mylib.'This Sheet$'n; run;
data mylib.new;
set mylib.'This Sheet$'n;
run;
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft Windows NT Workstation | 9 TS M0 | |
Microsoft Windows XP Professional | 9 TS M0 | |
Microsoft Windows 2000 Server | 9 TS M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | |
Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | |
Microsoft Windows 2000 Advanced Server | 9 TS M0 | |
Microsoft Windows 2000 Datacenter Server | 9 TS M0 | |
Microsoft Windows 2000 Professional | 9 TS M0 | |
*
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.
Type: | Usage Note |
Priority: | low |
Date Modified: | 2004-08-20 09:55:06 |
Date Created: | 2004-06-17 10:30:38 |