<?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: Amounts exported in Excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/346992#M80076</link>
    <description>&lt;P&gt;using ODS tagsets.EXCELXP, will give you control over the format of the cells.&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;ODS tagsets.ExcelXP&lt;BR /&gt;FILE="&amp;amp;out\format.xls";&lt;BR /&gt;PROC PRINT DATA=test;&lt;BR /&gt;VAR name;&lt;BR /&gt;VAR height / STYLE={TAGATTR='format=0.00'};&lt;BR /&gt;RUN;&lt;BR /&gt;ODS tagsets.ExcelXP CLOSE;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2017 10:41:31 GMT</pubDate>
    <dc:creator>naveenraj</dc:creator>
    <dc:date>2017-04-04T10:41:31Z</dc:date>
    <item>
      <title>Amounts exported in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/346972#M80062</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to export a table to Excel, with a simple PROC EXPORT.&lt;/P&gt;&lt;P&gt;But some formats are destroyed.&lt;/P&gt;&lt;P&gt;For example I have some amounts values, formats 15.2 in my SAS table, which have, after exporting, 4 decimals in my Excel spreadsheet. &amp;nbsp;I'm sure you will agree that is a nonsense for amounts...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything I can do to avoid this? Or is it an Excel problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for answers.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/346972#M80062</guid>
      <dc:creator>fabdu92</dc:creator>
      <dc:date>2017-04-04T10:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Amounts exported in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/346992#M80076</link>
      <description>&lt;P&gt;using ODS tagsets.EXCELXP, will give you control over the format of the cells.&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;ODS tagsets.ExcelXP&lt;BR /&gt;FILE="&amp;amp;out\format.xls";&lt;BR /&gt;PROC PRINT DATA=test;&lt;BR /&gt;VAR name;&lt;BR /&gt;VAR height / STYLE={TAGATTR='format=0.00'};&lt;BR /&gt;RUN;&lt;BR /&gt;ODS tagsets.ExcelXP CLOSE;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:41:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/346992#M80076</guid>
      <dc:creator>naveenraj</dc:creator>
      <dc:date>2017-04-04T10:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Amounts exported in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/346994#M80078</link>
      <description>&lt;P&gt;Proc export won't, this is a feature of Excel trying to be helpful. &amp;nbsp;If you output to a tagset, Excelxp for example, then you can force formats onto the value use the tagattr option. &amp;nbsp;However this then creating XML output which may or may not be ok for you.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 10:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/346994#M80078</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-04-04T10:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Amounts exported in Excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/347007#M80082</link>
      <description>&lt;P&gt;ODS Excel is a great option if you have SAS 9.4M3&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 11:42:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Amounts-exported-in-Excel/m-p/347007#M80082</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-04T11:42:54Z</dc:date>
    </item>
  </channel>
</rss>

