<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ODS Excel | Proc tabulate in multiple sheet in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549706#M152569</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;, yes, I tried it but it's completely ignored, the title remains on center.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2019 16:51:45 GMT</pubDate>
    <dc:creator>MariaD</dc:creator>
    <dc:date>2019-04-09T16:51:45Z</dc:date>
    <item>
      <title>ODS Excel | Proc tabulate in multiple sheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549646#M152539</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to generate an Excel file with more than one sheet. In each sheet, I have multiples reports (generated by proc tabulate), one below other. It's very important that the reports are one below other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the following code but it generates one sheet only with all reports (one below other) and not two sheets as required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS EXCEL FILE="/Test.xlsx" 
    OPTIONS(START_AT="1,3" SHEET_INTERVAL="none" EMBED_TITLES_ONCE='yes' embedded_titles="yes" SHEET_NAME="Archivo 1") STYLE=Daisy;

/*Report 1*/
PROC TABULATE DATA=SASHELP.CLASS ;	
	VAR Age;
	CLASS Sex /	ORDER=UNFORMATTED MISSING;
	TABLE Sex,
		  N 
          Age*Sum ;
RUN;

/*Report 2*/
PROC TABULATE DATA=SASHELP.CLASS ;	
	VAR Age;
	CLASS Sex /	ORDER=UNFORMATTED MISSING;
	TABLE Sex,
		  N 
          Age*Sum ;
RUN;

ODS EXCEL OPTIONS (START_AT="1,3" SHEET_INTERVAL="none" EMBED_TITLES_ONCE='yes' embedded_titles="yes" SHEET_NAME="Archivo 2") STYLE=Daisy;
/*Report 3*/
PROC TABULATE DATA=SASHELP.CLASS ;	
	VAR Age;
	CLASS Sex /	ORDER=UNFORMATTED MISSING;
	TABLE Sex,
		  N 
          Age*Sum ;
RUN;

/*Report 4*/
PROC TABULATE DATA=SASHELP.CLASS ;	
	VAR Age;
	CLASS Sex /	ORDER=UNFORMATTED MISSING;
	TABLE Sex,
		  N 
          Age*Sum ;
RUN;


ODS _ALL_ CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I tried removing the option &amp;nbsp;&lt;EM&gt;&lt;CODE class=" language-sas"&gt;SHEET_INTERVAL="none" &lt;/CODE&gt;&lt;/EM&gt;but it generate a sheet per proc tabulate, instead only two sheets. Any suggestion?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 15:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549646#M152539</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2019-04-09T15:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel | Proc tabulate in multiple sheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549667#M152549</link>
      <description>Have you tried setting sheet_interval to NOW when you want the new page. Also, which version of SAS do you have? This was a known bug in a specific version, before TS1M4 I believe.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;</description>
      <pubDate>Tue, 09 Apr 2019 15:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549667#M152549</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-04-09T15:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel | Proc tabulate in multiple sheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549692#M152559</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;! One more question... I'm using "Daisy" style, but my only problem is I need the title align to the left and in this style align to center. I tried to add "align" option on title but it has not effect Any suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 16:35:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549692#M152559</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2019-04-09T16:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel | Proc tabulate in multiple sheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549695#M152560</link>
      <description>I believe the setting you want is justification. &lt;BR /&gt;&lt;BR /&gt;title j=l 'My title';</description>
      <pubDate>Tue, 09 Apr 2019 16:35:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549695#M152560</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-04-09T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel | Proc tabulate in multiple sheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549706#M152569</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;, yes, I tried it but it's completely ignored, the title remains on center.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 16:51:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549706#M152569</guid>
      <dc:creator>MariaD</dc:creator>
      <dc:date>2019-04-09T16:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel | Proc tabulate in multiple sheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549710#M152572</link>
      <description>Is the J=L before the text or after?</description>
      <pubDate>Tue, 09 Apr 2019 16:57:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Proc-tabulate-in-multiple-sheet/m-p/549710#M152572</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-04-09T16:57:16Z</dc:date>
    </item>
  </channel>
</rss>

