Usage Note 43559: Titles and footnotes might not appear on every worksheet when BY groups are created
Titles and footnotes included within an Excel worksheet might be displayed on only the first worksheet when using PROC PRINT along with the ExcelXP tagset to generate the output. This is most likely to occur when the ExcelXP tagset is used in conjunction with a BY statement and the SHEET_INTERVAL="bygroup" tagset option. Information for each BY group is displayed on a separate worksheet. However, the embedded titles and footnotes are displayed only on the first worksheet.
To have the titles and footnotes printed on all worksheets, include the PAGEBY statement in the PROC PRINT code, specifying the same variable that is included in the BY statement. For example:
proc sort data=sashelp.class out=test;
by age;
run;
ods tagsets.excelxp file="c:\temp.xls" options(embedded_titles="yes"
embedded_footnotes="yes" sheet_interval="bygroup");
proc print data=test;
title "this is a title";
footnote "this is a footnote";
by age;
pageby age;
run;
ods tagsets.excelxp close;
Operating System and Release Information
SAS System | Base SAS | z/OS | | |
Z64 | | |
OpenVMS VAX | | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | | |
Microsoft Windows XP 64-bit Edition | | |
Microsoft® Windows® for x64 | | |
OS/2 | | |
Microsoft Windows 95/98 | | |
Microsoft Windows 2000 Advanced Server | | |
Microsoft Windows 2000 Datacenter Server | | |
Microsoft Windows 2000 Server | | |
Microsoft Windows 2000 Professional | | |
Microsoft Windows NT Workstation | | |
Microsoft Windows Server 2003 Datacenter Edition | | |
Microsoft Windows Server 2003 Enterprise Edition | | |
Microsoft Windows Server 2003 Standard Edition | | |
Microsoft Windows Server 2003 for x64 | | |
Microsoft Windows Server 2008 | | |
Microsoft Windows Server 2008 for x64 | | |
Microsoft Windows XP Professional | | |
Windows 7 Enterprise 32 bit | | |
Windows 7 Enterprise x64 | | |
Windows 7 Home Premium 32 bit | | |
Windows 7 Home Premium x64 | | |
Windows 7 Professional 32 bit | | |
Windows 7 Professional x64 | | |
Windows 7 Ultimate 32 bit | | |
Windows 7 Ultimate x64 | | |
Windows Millennium Edition (Me) | | |
Windows Vista | | |
Windows Vista for x64 | | |
64-bit Enabled AIX | | |
64-bit Enabled HP-UX | | |
64-bit Enabled Solaris | | |
ABI+ for Intel Architecture | | |
AIX | | |
HP-UX | | |
HP-UX IPF | | |
IRIX | | |
Linux | | |
Linux for x64 | | |
Linux on Itanium | | |
OpenVMS Alpha | | |
OpenVMS on HP Integrity | | |
Solaris | | |
Solaris for x64 | | |
Tru64 UNIX | | |
*
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.
Titles and footnotes might not appear on every worksheet when BY groups are created.
Date Modified: | 2011-09-13 14:09:06 |
Date Created: | 2011-06-20 12:06:57 |