<?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 exporting several sas tables in a single excel file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/exporting-several-sas-tables-in-a-single-excel-file/m-p/210749#M39055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I used 4 sql procedures to create 4 tables, and i want to export all this tables in a single excel file but i don't know how !!&lt;/P&gt;&lt;P&gt;is there any thing to merge my 4 table (many colomnes and one row in all of it) before exporting ? if not, how can export it in one excel file ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 09:26:23 GMT</pubDate>
    <dc:creator>fadel</dc:creator>
    <dc:date>2015-03-26T09:26:23Z</dc:date>
    <item>
      <title>exporting several sas tables in a single excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-several-sas-tables-in-a-single-excel-file/m-p/210749#M39055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I used 4 sql procedures to create 4 tables, and i want to export all this tables in a single excel file but i don't know how !!&lt;/P&gt;&lt;P&gt;is there any thing to merge my 4 table (many colomnes and one row in all of it) before exporting ? if not, how can export it in one excel file ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 09:26:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-several-sas-tables-in-a-single-excel-file/m-p/210749#M39055</guid>
      <dc:creator>fadel</dc:creator>
      <dc:date>2015-03-26T09:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: exporting several sas tables in a single excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-several-sas-tables-in-a-single-excel-file/m-p/210750#M39056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This question appears on these forums many times.&amp;nbsp; Please use the search facility, "exporting multiple dataset to excel" gives these as first hits:&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="229484" __jive_macro_name="message" class="jive_macro jive_macro_message active_link" href="https://communities.sas.com/" modifiedtitle="true" title="exporting multiple sas datasets into multiple sheets in one excel workbook"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="190365" __jive_macro_name="message" class="jive_macro jive_macro_message active_link" href="https://communities.sas.com/" modifiedtitle="true" title="Re: want to export multiple data set in Excel file"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="230715" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 11:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-several-sas-tables-in-a-single-excel-file/m-p/210750#M39056</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-03-26T11:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: exporting several sas tables in a single excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/exporting-several-sas-tables-in-a-single-excel-file/m-p/210751#M39057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to use proc export you can do this way.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc export data= dataset&lt;/P&gt;&lt;P&gt;outfile="location and file name.xlsx"&lt;/P&gt;&lt;P&gt;dbms=xlsx replace; sheet='sheetname';run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giving a different sheetname for every new export statement is importnat so it doesnot override the previous one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;repeat this procedure for any&amp;nbsp; number of datasets.. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 11:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/exporting-several-sas-tables-in-a-single-excel-file/m-p/210751#M39057</guid>
      <dc:creator>viveklanka</dc:creator>
      <dc:date>2015-03-26T11:27:10Z</dc:date>
    </item>
  </channel>
</rss>

