<?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 excel in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/excel/m-p/724251#M28022</link>
    <description>How to export sashelp.class to Excel 4 spreadsheet (Microsoft Excel 4 Spreadsheet)?</description>
    <pubDate>Sun, 07 Mar 2021 06:51:21 GMT</pubDate>
    <dc:creator>ShuShen</dc:creator>
    <dc:date>2021-03-07T06:51:21Z</dc:date>
    <item>
      <title>excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/excel/m-p/724251#M28022</link>
      <description>How to export sashelp.class to Excel 4 spreadsheet (Microsoft Excel 4 Spreadsheet)?</description>
      <pubDate>Sun, 07 Mar 2021 06:51:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/excel/m-p/724251#M28022</guid>
      <dc:creator>ShuShen</dc:creator>
      <dc:date>2021-03-07T06:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/excel/m-p/724254#M28023</link>
      <description>&lt;P&gt;Try next steps:&lt;/P&gt;
&lt;P&gt;1) Open a new empty excel file with 4 sheets: shhet1-sheet4.&lt;/P&gt;
&lt;P&gt;2) Adapt next code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname myxl excel "&amp;lt;path to the excel file&amp;gt;/filename.xlsx" replace;

data myxl.sheet1 myxl.sheet2 myxl.sheet3 myxl.sheet4;
 set sashelp.class;
       if &amp;lt;condition1&amp;gt; then output myxl.sheet1; else
       if &amp;lt;condition2&amp;gt; then output myxl.sheet2; else
       if &amp;lt;condition3&amp;gt; then output myxl.sheet3; else
       if &amp;lt;condition4&amp;gt; then output myxl.sheet4; 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Mar 2021 07:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/excel/m-p/724254#M28023</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-03-07T07:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/excel/m-p/724256#M28024</link>
      <description>Thank you so much!!!</description>
      <pubDate>Sun, 07 Mar 2021 07:32:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/excel/m-p/724256#M28024</guid>
      <dc:creator>ShuShen</dc:creator>
      <dc:date>2021-03-07T07:32:58Z</dc:date>
    </item>
  </channel>
</rss>

