Sample 38198: Embed titles and footnotes in output generated with the ExcelXP destination
To embed titles and footnotes in the worksheet when using the ODS TAGSETS.ExcelXP destination, use the EMBEDDED_TITLES= and EMBEDDED_FOOTNOTES= options. By default, if these options are not specified, the titles and footnotes are added to the header and footer sections of the Excel worksheet. If you embed the titles and foonotes in the worksheet and you also want to include text in the header and footer sections, use the PRINT_HEADER= and PRINT_FOOTER= options.
Please see the code in the Full Code tab for an example.
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
Use the EMBEDDED_TITLES= and EMBEDDED_FOOTNOTES= options to embed titles and footnotes in the worksheet when using the ODS TAGSETS.ExcelXP destination.
ods listing close;
ods tagsets.excelxp file="embed.xls" style=statistical
options( embedded_titles='yes' embedded_footnotes='yes' );
title "My First Title";
title3 "My Third Title";
proc print data=sashelp.class (obs=5);
run;
footnote "My First Footnote";
footnote3 "My Third Footnote";
ods tagsets.excelxp close;
ods listing;
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
Use the EMBEDDED_TITLES= and EMBEDDED_FOOTNOTES= options to embed titles and footnotes in the worksheet when using the ODS TAGSETS.ExcelXP destination.
Date Modified: | 2010-04-14 15:05:49 |
Date Created: | 2009-12-17 14:25:46 |
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M3 SP4 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
Windows Vista | 9.1 TS1M3 SP4 | |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |
HP-UX IPF | 9.1 TS1M3 SP4 | |
Linux | 9.1 TS1M3 SP4 | |
Linux on Itanium | 9.1 TS1M3 SP4 | |
OpenVMS Alpha | 9.1 TS1M3 SP4 | |
Solaris for x64 | 9.1 TS1M3 SP4 | |
Tru64 UNIX | 9.1 TS1M3 SP4 | |