<?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 column names from Explorer window in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Export-to-Excel-column-names-from-Explorer-window/m-p/71462#M958</link>
    <description>Looking at the SAS-generated code, it appears that SAS 9.2 does include the PROC PRINT option "LABEL" which causes the behavior you are seeing.  I don't know of a way to change this code (maybe there is a template file somewhere - contact tech support if it is important enough?), however you can change the behavior with the SAS statement below (it converts the data-string to a comment):&lt;BR /&gt;
&lt;BR /&gt;
MACRO label   /*LABEL*/ %&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Mon, 13 Sep 2010 14:47:17 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-09-13T14:47:17Z</dc:date>
    <item>
      <title>Export to Excel column names from Explorer window</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Export-to-Excel-column-names-from-Explorer-window/m-p/71461#M957</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
We're running SAS 9.2 on a Windows environment.&lt;BR /&gt;
&lt;BR /&gt;
We were previously on 9.1.3, and I'm quite confident, but can't check this anymore that when you right click on a SAS dataset in the Explorer windows and select View in Excel the column headings would come out as the Names as opposed to the Labels.&lt;BR /&gt;
&lt;BR /&gt;
We use this feature a lot to do very quick analysis on a small set of data, which typically involve copying a very small amount of records (eg five records).&lt;BR /&gt;
&lt;BR /&gt;
Without writing code (eg proc export) everytime to do this, how can I get the SAS 9.1.3 functionality back in terms of exporting the column names?&lt;BR /&gt;
&lt;BR /&gt;
Side tracking a bit, but is there a way to always show the column names by default when I look at a dataset in SAS ?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
-John</description>
      <pubDate>Mon, 13 Sep 2010 00:03:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Export-to-Excel-column-names-from-Explorer-window/m-p/71461#M957</guid>
      <dc:creator>JohnT</dc:creator>
      <dc:date>2010-09-13T00:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel column names from Explorer window</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Export-to-Excel-column-names-from-Explorer-window/m-p/71462#M958</link>
      <description>Looking at the SAS-generated code, it appears that SAS 9.2 does include the PROC PRINT option "LABEL" which causes the behavior you are seeing.  I don't know of a way to change this code (maybe there is a template file somewhere - contact tech support if it is important enough?), however you can change the behavior with the SAS statement below (it converts the data-string to a comment):&lt;BR /&gt;
&lt;BR /&gt;
MACRO label   /*LABEL*/ %&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 13 Sep 2010 14:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Export-to-Excel-column-names-from-Explorer-window/m-p/71462#M958</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-09-13T14:47:17Z</dc:date>
    </item>
  </channel>
</rss>

