when I submited your test: results off; ods listing close; tagsets.excelxp file="c:\temp\tworeally.xls" style=sasweb ; tagsets.excelxp options(sheet_name='parameters'); print data=/*sashelp.class*/parameters noobs;run;quit; tagsets.excelxp options(sheet_name='pen_r'); print data=/*sashelp.air*/ parameters noobs; run;quit; tagsets.excelxp close; I still got 2 files. the log: 10448 ods results off; 10449 10450 ods listing close; 10451 10452 ods tagsets.excelxp file="c:\temp\tworeally.xls" style=sasweb ; NOTE: Writing TAGSETS.EXCELXP Body file: c:\temp\tworeally.xls NOTE: This is the Excel XP tagset (Compatible with SAS 9.1.3 and above, v1.116, 08/25/10). Add options(doc='help') to the ods statement for more information. 10453 10454 ods tagsets.excelxp options(sheet_name='parameters'); 10455 10456 proc print data=/*sashelp.class*/parameters noobs;run; NOTE: Writing HTML Body file: sashtml29.htm NOTE: There were 34 observations read from the data set WORK.PARAMETERS. NOTE: PROCEDURE PRINT used (Total process time): real time 0.07 seconds cpu time 0.04 seconds 10456! quit; 10457 10458 ods tagsets.excelxp options(sheet_name='pen_r'); 10459 10460 proc print data=/*sashelp.air*/ parameters noobs; run; NOTE: Writing HTML Body file: sashtml30.htm NOTE: Writing TAGSETS.EXCELXP Body file: c:\temp\tworeally1.xls NOTE: There were 34 observations read from the data set WORK.PARAMETERS. NOTE: PROCEDURE PRINT used (Total process time): real time 0.14 seconds cpu time 0.10 seconds 10460! quit; 10461 10462 ods tagsets.excelxp close;
... View more