<?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: Exporting to Excel Spreadsheet in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619732#M182022</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data = sashelp.baseball (where=(Team="Atlanta")) 
outfile = "G:\SAS Downloads\Baseball_Teams.xls" 
dbms = xls replace;
sheet = "Atlanta";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 24 Jan 2020 01:34:43 GMT</pubDate>
    <dc:creator>sustagens</dc:creator>
    <dc:date>2020-01-24T01:34:43Z</dc:date>
    <item>
      <title>Exporting to Excel Spreadsheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619723#M182017</link>
      <description>&lt;P&gt;How can I export a sas table to an excel spreadsheet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 00:02:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619723#M182017</guid>
      <dc:creator>cneed</dc:creator>
      <dc:date>2020-01-24T00:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Excel Spreadsheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619732#M182022</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data = sashelp.baseball (where=(Team="Atlanta")) 
outfile = "G:\SAS Downloads\Baseball_Teams.xls" 
dbms = xls replace;
sheet = "Atlanta";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jan 2020 01:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619732#M182022</guid>
      <dc:creator>sustagens</dc:creator>
      <dc:date>2020-01-24T01:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Excel Spreadsheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619753#M182025</link>
      <description>&lt;P&gt;If you can utilize the xlsx engine, I think this is the cleanest way to do it:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname xlout xlsx '/folders/myfolders/SASHelp.xlsx';
proc datasets nolist;
 copy in=sashelp out=xlout;
 select shoes class retail / memtype=data;
run; quit;
libname xlout clear;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jan 2020 03:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619753#M182025</guid>
      <dc:creator>unison</dc:creator>
      <dc:date>2020-01-24T03:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Excel Spreadsheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619758#M182029</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/281550"&gt;@sustagens&lt;/a&gt;&amp;nbsp; Is it possible to just select certain columns of the dataset to export? This is the code I have tried and it is giving me an "invalid option name SELECT" error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data = Data.master_After2001WithGPA (select=(studentID, Gender, GPA))&lt;BR /&gt;dbms = xls&lt;BR /&gt;outfile = "/folders/myfolders/Question6_Output.xls"&lt;BR /&gt;replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 03:56:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619758#M182029</guid>
      <dc:creator>cneed</dc:creator>
      <dc:date>2020-01-24T03:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Excel Spreadsheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619762#M182032</link>
      <description>&lt;P&gt;the correct syntax is &lt;STRONG&gt;keep=&amp;nbsp;&lt;/STRONG&gt;as opposed to select=. Also remove the commas in the field list&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 04:09:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-to-Excel-Spreadsheet/m-p/619762#M182032</guid>
      <dc:creator>unison</dc:creator>
      <dc:date>2020-01-24T04:09:51Z</dc:date>
    </item>
  </channel>
</rss>

