The SAS Output Delivery System and reporting techniques

ODS Excel sheet_interval issue

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 5
Accepted Solution

ODS Excel sheet_interval issue

 

 

I want to create two Excel sheets "A" and "B" with first sheet having first two print statements and second sheet having last two print statements. Somehow it is not creating sheet "B". I tried different sheet_interval options with no luck.

 

ods listing close;
ods excel file="C:\test.xlsx" style=minimal;

 

ods excel options(sheet_name="A" sheet_interval='none' );

proc print data=sashelp.class; run;

 

ods excel options(sheet_name="A") ;

proc print data=sashelp.class; run;

 

ods excel options(sheet_name="B" sheet_interval='none' );

proc print data=sashelp.class; run;

 

ods excel options(sheet_name="B") ;

proc print data=sashelp.class; run;


ods excel close;
ods listing;


Accepted Solutions
Solution
‎07-05-2016 01:22 PM
Occasional Contributor
Posts: 5

All Replies
Solution
‎07-05-2016 01:22 PM
Occasional Contributor
Posts: 5

Re: ODS Excel sheet_interval issue

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 535 views
  • 0 likes
  • 1 in conversation