The following program will gnerate an output in nicely formatted excel spread sheet.
Please change the file path, sheet name, style and dataset name for your purpose.
ods TAGSETS.EXCELXP file="test.xls"
style=default
options (orientation="Landscape"
AUTOFILTER='1'
FROZEN_HEADER='YES'
FROZEN_ROWHEADER='YES');
ODS TAGSETS.EXCELXP OPTIONS (sheet_name='Sheet_1');
proc print data=d1;
run;
ODS TAGSETS.EXCELXP OPTIONS (sheet_name='Sheet_2');
proc print data=d2;
run;
ods tagsets.excelxp close;
Subscribe to:
Post Comments (Atom)
My Previous Posts
-
▼
2008
(13)
-
▼
January
(10)
- Detecting Outliers based on 99% quantiles
- Sahara Saral..Sahara Pookal .. Song
- THIS VARIABLE IS UNINITIALIZED
- SAS Functions (an excerpt)
- ODS ExcelXp tagsets usage.
- Missing Values in SAS
- Address of Vivekananda in 1893 World Congress of r...
- Inspirational Pearls from Swamy Vivekananda
- Proverbs from Mahatma Gandhi.
- 101 worlds funniest one liners
-
▼
January
(10)
No comments:
Post a Comment