<?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 - Multiple PROC REPORTs for Same Worksheet in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Multiple-PROC-REPORTs-for-Same-Worksheet/m-p/708120#M217544</link>
    <description>&lt;P&gt;If you remove SHEET_INTERVAL='TABLE', your code should work, both PROC REPORT outputs should go in the same worksheet, but you can't control which line it starts on.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2020 18:56:12 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-12-24T18:56:12Z</dc:date>
    <item>
      <title>ODS Excel - Multiple PROC REPORTs for Same Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Multiple-PROC-REPORTs-for-Same-Worksheet/m-p/708118#M217542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to figure out how to use ODS Excel and two PROC REPORTs to write to the same worksheet.&amp;nbsp; For example,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods excel file='C:\temp\test.xlsx'&lt;/P&gt;&lt;P&gt;options(sheet_name="dsn" sheet_interval='TABLE' gridlines='ON' flow='DATA');&lt;/P&gt;&lt;P&gt;proc report data=dsn1 nowd&lt;BR /&gt;columns VarA VarB VarC;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Define statements&lt;/P&gt;&lt;P&gt;proc report data=dsn2 nowd&lt;BR /&gt;columns VarD VarE Var F;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Define statements&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the first PROC REPORT uses a dataset called dsn1 and the second PROC REPORT uses a dataset called dsn2.&amp;nbsp; Ideally, I would like for the PROC REPORT using dsn2 to start at row 60 on the worksheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 18:52:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Multiple-PROC-REPORTs-for-Same-Worksheet/m-p/708118#M217542</guid>
      <dc:creator>cgsmoak56</dc:creator>
      <dc:date>2020-12-24T18:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel - Multiple PROC REPORTs for Same Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Multiple-PROC-REPORTs-for-Same-Worksheet/m-p/708120#M217544</link>
      <description>&lt;P&gt;If you remove SHEET_INTERVAL='TABLE', your code should work, both PROC REPORT outputs should go in the same worksheet, but you can't control which line it starts on.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 18:56:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Multiple-PROC-REPORTs-for-Same-Worksheet/m-p/708120#M217544</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-12-24T18:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel - Multiple PROC REPORTs for Same Worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Multiple-PROC-REPORTs-for-Same-Worksheet/m-p/708131#M217551</link>
      <description>That works, but I have a macro that loops through to create one spreadsheet per topic. So, when I remove the sheet_interval, it puts all of the topics into one spreadsheet. But I think that I have some ideas that I can try out to solve the problem. Thank you for your assistance.</description>
      <pubDate>Thu, 24 Dec 2020 19:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Excel-Multiple-PROC-REPORTs-for-Same-Worksheet/m-p/708131#M217551</guid>
      <dc:creator>cgsmoak56</dc:creator>
      <dc:date>2020-12-24T19:53:46Z</dc:date>
    </item>
  </channel>
</rss>

