<?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: Export to excel with two headers in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96263#M27196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide some sample of your current data and the expected output data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Tushar J.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 07:46:43 GMT</pubDate>
    <dc:creator>Tushar</dc:creator>
    <dc:date>2013-08-01T07:46:43Z</dc:date>
    <item>
      <title>Export to excel with two headers</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96262#M27195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using proce export to export the SAS data to excel file. but i need to have two headers(top one is lable with spaces). is there any simple solution? my data has preceeesing zero numbers as customer ID.&lt;/P&gt;&lt;P&gt;basically i want to have the same format of dates, numbers, characters and numbers with preceeding zeros. but with extra header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOMER NUMBER&lt;/P&gt;&lt;P&gt;CUSTNBR&lt;/P&gt;&lt;P&gt;00001213&lt;/P&gt;&lt;P&gt;00001212&lt;/P&gt;&lt;P&gt;00121544&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 06:21:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96262#M27195</guid>
      <dc:creator>Alankar</dc:creator>
      <dc:date>2013-08-01T06:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel with two headers</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96263#M27196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide some sample of your current data and the expected output data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Tushar J.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 07:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96263#M27196</guid>
      <dc:creator>Tushar</dc:creator>
      <dc:date>2013-08-01T07:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel with two headers</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96264#M27197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;Is the above your final report? Just CUSTOMER_NUMBER???? PROC REPORT will do this very easily (give you two headers), but PROC EXPORT will not. Also, there is a possibility that Excel will ignore the SAS formats when it opens your exported workbook. That's because Excel has its own defaults for column formats, widths, etc and PROC EXPORT does not have many ways to influence how Excel opens the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, if you use ODS, you can influence how Excel treats your data because you can send Microsoft-specific formats to Excel, as described in this paper: &lt;A href="http://support.sas.com/resources/papers/proceedings11/266-2011.pdf" title="http://support.sas.com/resources/papers/proceedings11/266-2011.pdf"&gt;http://support.sas.com/resources/papers/proceedings11/266-2011.pdf&lt;/A&gt;&amp;nbsp; (leading zeroes treatment is one of the examples).&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 13:10:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96264#M27197</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-08-01T13:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel with two headers</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96265#M27198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for insufficient explanation.&lt;/P&gt;&lt;P&gt;I need to export 3 sheets, each with 20 variables. I have dates, char variables, numbers and preceding zero variables, like ID and account numbers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 14:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-to-excel-with-two-headers/m-p/96265#M27198</guid>
      <dc:creator>Alankar</dc:creator>
      <dc:date>2013-08-01T14:18:24Z</dc:date>
    </item>
  </channel>
</rss>

