<?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: Excel libname in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227302#M40943</link>
    <description>What if you format it as numbers? I would try the LABELs option. Are you using EG, usually 2001 isn't a valid column name in SAS.</description>
    <pubDate>Fri, 25 Sep 2015 16:47:08 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-09-25T16:47:08Z</dc:date>
    <item>
      <title>Excel libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227295#M40938</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the Excel libname engine to output some SAS data to Excel. There are several datasets that I want to output and I have created the templates in Excel with the appropriate titles and formatting, so I am just interested in outputting the numbers. However it seems that I also need to output column headers (am I right?) and because my column headers are years (2001-2015) then when they are output to Excel it shows each header cell as having the error 'number stored as text'. I know I can turn off the error but if I send somebody the workbook they will still see the error. It will take too long to click on each one and choose ignore error, because there are so many. Does anyone know how to output the data and keep the headings as numeric?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 16:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227295#M40938</guid>
      <dc:creator>claire_sas</dc:creator>
      <dc:date>2015-09-25T16:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Excel libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227296#M40939</link>
      <description>How are your templates formatted, I would have assumed the templates would correct this if they are formatted correctly. I;m assuming you are using the LABELS option as well, rather than Header?</description>
      <pubDate>Fri, 25 Sep 2015 16:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227296#M40939</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-09-25T16:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excel libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227298#M40940</link>
      <description>&lt;P&gt;I formatted the rows as text&amp;nbsp;but it still tells me that it's a number that I am storing as text, like I don't know that already. I tried changing it to numeric but that didn't work either. Is there something else that I should be doing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not using those options because the column names don't have labels, they are just 2001, 2002, etc. But if I did give them labels they would just be the same and surely they would come out as text too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 16:27:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227298#M40940</guid>
      <dc:creator>claire_sas</dc:creator>
      <dc:date>2015-09-25T16:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excel libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227302#M40943</link>
      <description>What if you format it as numbers? I would try the LABELs option. Are you using EG, usually 2001 isn't a valid column name in SAS.</description>
      <pubDate>Fri, 25 Sep 2015 16:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227302#M40943</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-09-25T16:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Excel libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227457#M40986</link>
      <description>&lt;P&gt;As mentioned I tried formatting the Excel rows as numbers and that didn't get rid of the green triangle errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I'm using EG and it doesn't have a problem with column headings containing only numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you say the LABELS option do you mean DBLABEL=YES? My column headers don't have labels, and I could create them but it's not really practical because there are so many columns, and aren't labels always stored as text anyway? I want SAS to recognise that the column headings are numbers rather than text,&amp;nbsp;so that they are sent to Excel as numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 08:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-libname/m-p/227457#M40986</guid>
      <dc:creator>claire_sas</dc:creator>
      <dc:date>2015-09-28T08:44:48Z</dc:date>
    </item>
  </channel>
</rss>

