<?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: Using ODS to write to Excel is using Labels instead of SAS Names in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-ODS-to-write-to-Excel-is-using-Labels-instead-of-SAS-Names/m-p/257025#M49310</link>
    <description>There's nothing in the ODS statement about the variable labels. It is the procedure you are running that controls this. For example, PROC REPORT and PROC TABULATE use labels if they are in place. But PROC PRINT does not. So look at your procedure output.&lt;BR /&gt;cynthia</description>
    <pubDate>Wed, 16 Mar 2016 13:52:54 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-03-16T13:52:54Z</dc:date>
    <item>
      <title>Using ODS to write to Excel is using Labels instead of SAS Names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-ODS-to-write-to-Excel-is-using-Labels-instead-of-SAS-Names/m-p/256997#M49307</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a quick question - I can find info on how to use Labels instead of SAS Names when writing to Excel in an ODS statement, but I want it the other way around.&amp;nbsp; I would think that this would be the default.&amp;nbsp; But in my case it's using the Labels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods excel file=outdisp options(sheet_interval="none" columns="&amp;amp;varfrq" sheet_name="Person Freqs");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the ODS to use the SAS Names which are listed in the &amp;amp;varfrq macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;SASHunter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 12:39:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-ODS-to-write-to-Excel-is-using-Labels-instead-of-SAS-Names/m-p/256997#M49307</guid>
      <dc:creator>SASHunter</dc:creator>
      <dc:date>2016-03-16T12:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using ODS to write to Excel is using Labels instead of SAS Names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-ODS-to-write-to-Excel-is-using-Labels-instead-of-SAS-Names/m-p/257018#M49308</link>
      <description>&lt;P&gt;Look at the code that actually produces the report. I guess you have an option there that causes labels to be used.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 13:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-ODS-to-write-to-Excel-is-using-Labels-instead-of-SAS-Names/m-p/257018#M49308</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-03-16T13:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using ODS to write to Excel is using Labels instead of SAS Names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-ODS-to-write-to-Excel-is-using-Labels-instead-of-SAS-Names/m-p/257025#M49310</link>
      <description>There's nothing in the ODS statement about the variable labels. It is the procedure you are running that controls this. For example, PROC REPORT and PROC TABULATE use labels if they are in place. But PROC PRINT does not. So look at your procedure output.&lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 16 Mar 2016 13:52:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-ODS-to-write-to-Excel-is-using-Labels-instead-of-SAS-Names/m-p/257025#M49310</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-03-16T13:52:54Z</dc:date>
    </item>
  </channel>
</rss>

