<?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: preceding zeros missing in excel in numeric as well as character value in Developers</title>
    <link>https://communities.sas.com/t5/Developers/preceding-zeros-missing-in-excel-in-numeric-as-well-as-character/m-p/339128#M5279</link>
    <description>&lt;P&gt;Excel interprets any data cell that contains only digits as a number and formats accordingly. That's just Excel.&lt;/P&gt;
&lt;P&gt;You might try adding a single quote before the leading zeroes.&lt;/P&gt;
&lt;P&gt;For reference, please post your ODS statement(s) you used for the proc report.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2017 08:13:27 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-03-08T08:13:27Z</dc:date>
    <item>
      <title>preceding zeros missing in excel in numeric as well as character value</title>
      <link>https://communities.sas.com/t5/Developers/preceding-zeros-missing-in-excel-in-numeric-as-well-as-character/m-p/339123#M5278</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made sas stored procedure and then transfered output to excel. But in excel preceding zero's are missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;&amp;nbsp; value in sas&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value in excel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 005407&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5407&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 001&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have&amp;nbsp;tried following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEFINE SERIES_BASE / DISPLAY "SERIES BASE" Style(data)={tagattr='Format: @'} FORMAT= $CHAR4.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEFINE SERIES_BASE / DISPLAY "SERIES BASE" Style(data)={tagattr='Format: text'} FORMAT= $CHAR4.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEFINE SERIES_BASE / DISPLAY "SERIES BASE" Style(data)={tagattr='Format: $'} FORMAT= $CHAR4.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 07:56:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/preceding-zeros-missing-in-excel-in-numeric-as-well-as-character/m-p/339123#M5278</guid>
      <dc:creator>v9dduhan</dc:creator>
      <dc:date>2017-03-08T07:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: preceding zeros missing in excel in numeric as well as character value</title>
      <link>https://communities.sas.com/t5/Developers/preceding-zeros-missing-in-excel-in-numeric-as-well-as-character/m-p/339128#M5279</link>
      <description>&lt;P&gt;Excel interprets any data cell that contains only digits as a number and formats accordingly. That's just Excel.&lt;/P&gt;
&lt;P&gt;You might try adding a single quote before the leading zeroes.&lt;/P&gt;
&lt;P&gt;For reference, please post your ODS statement(s) you used for the proc report.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 08:13:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/preceding-zeros-missing-in-excel-in-numeric-as-well-as-character/m-p/339128#M5279</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-08T08:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: preceding zeros missing in excel in numeric as well as character value</title>
      <link>https://communities.sas.com/t5/Developers/preceding-zeros-missing-in-excel-in-numeric-as-well-as-character/m-p/339148#M5280</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your define should be - and do note whilst we are on the subject, follow some good coding practices - i.e. not all upper case or mixed case, use indentation etc. and there is a code window {i} above where you post for code.&lt;/P&gt;
&lt;PRE&gt;define series_base / display "SERIES BASE" style={tagattr='Format:@'};&lt;/PRE&gt;
&lt;P&gt;If that still persists you will need to post example test data in the form of a datastep and the code (formatted so it is readable) so we can have a look.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 09:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/preceding-zeros-missing-in-excel-in-numeric-as-well-as-character/m-p/339148#M5280</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-08T09:28:26Z</dc:date>
    </item>
  </channel>
</rss>

