<?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: can excelXP have BOTH  column headings(labels) and variable name? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/can-excelXP-have-BOTH-column-headings-labels-and-variable-name/m-p/14087#M3288</link>
    <description>Hi:&lt;BR /&gt;
  I don't believe there's an automatic option to do it, but you could code it yourself using either the "brute force" method shown below or any number of  more automated and/or "macro-ized" solutions to build the text string that represents the label.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods tagsets.excelxp file='var_labl.xml' style=sasweb;&lt;BR /&gt;
                            &lt;BR /&gt;
proc report data=sashelp.class nowd split='#';&lt;BR /&gt;
  column name age sex height weight;&lt;BR /&gt;
  define name / order 'Name#What Name';&lt;BR /&gt;
  define age /display 'Age#How Old';&lt;BR /&gt;
  define height / display 'Height#How Tall';&lt;BR /&gt;
  define sex / display 'Sex#What Gender';&lt;BR /&gt;
  define weight / display 'Weight#How Heavy';&lt;BR /&gt;
run;&lt;BR /&gt;
                   &lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
                          &lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
    <pubDate>Mon, 09 Nov 2009 21:36:59 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2009-11-09T21:36:59Z</dc:date>
    <item>
      <title>can excelXP have BOTH  column headings(labels) and variable name?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/can-excelXP-have-BOTH-column-headings-labels-and-variable-name/m-p/14086#M3287</link>
      <description>I am giving an end user an export on Excel with labels using tagsets.excelxp - I would like to include variable names for ease of troubleshooting - is this possible? I did not see a post on this, forgive me if the question has already been asked.</description>
      <pubDate>Mon, 09 Nov 2009 20:03:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/can-excelXP-have-BOTH-column-headings-labels-and-variable-name/m-p/14086#M3287</guid>
      <dc:creator>frisco</dc:creator>
      <dc:date>2009-11-09T20:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: can excelXP have BOTH  column headings(labels) and variable name?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/can-excelXP-have-BOTH-column-headings-labels-and-variable-name/m-p/14087#M3288</link>
      <description>Hi:&lt;BR /&gt;
  I don't believe there's an automatic option to do it, but you could code it yourself using either the "brute force" method shown below or any number of  more automated and/or "macro-ized" solutions to build the text string that represents the label.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods tagsets.excelxp file='var_labl.xml' style=sasweb;&lt;BR /&gt;
                            &lt;BR /&gt;
proc report data=sashelp.class nowd split='#';&lt;BR /&gt;
  column name age sex height weight;&lt;BR /&gt;
  define name / order 'Name#What Name';&lt;BR /&gt;
  define age /display 'Age#How Old';&lt;BR /&gt;
  define height / display 'Height#How Tall';&lt;BR /&gt;
  define sex / display 'Sex#What Gender';&lt;BR /&gt;
  define weight / display 'Weight#How Heavy';&lt;BR /&gt;
run;&lt;BR /&gt;
                   &lt;BR /&gt;
ods tagsets.excelxp close;&lt;BR /&gt;
                          &lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
      <pubDate>Mon, 09 Nov 2009 21:36:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/can-excelXP-have-BOTH-column-headings-labels-and-variable-name/m-p/14087#M3288</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-11-09T21:36:59Z</dc:date>
    </item>
  </channel>
</rss>

