<?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: ods tagsets.excelxp - Header or something in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287379#M59123</link>
    <description>&lt;P&gt;There is no reason that the title should appear several times for one output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That Excel split the data when viewing is irrelevant, and the split can happen anywhere depending on Excel's setup and even on your monitor's size. So what is a "page"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2016 00:41:00 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2016-07-27T00:41:00Z</dc:date>
    <item>
      <title>ods tagsets.excelxp - Header or something</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287225#M59059</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;SPAN&gt;Maybe I don't want to use the header option, but that's what I decided to try in this case. Any alternative suggestions would also be greatly appreciated since the header option isn't giving me the desired results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My ultimate goal is to have the contents of the .xml file display the current &amp;amp;ZIP5 value. For now, I'm able to name each .xml file with a naming convention that reflects this, but once someone opens the .xml file there is no indication of the &amp;amp;ZIP5 value in the output. In essence, they must remember the filename when reviewing the file contents. &amp;nbsp;I just need whomever opens the .xml file to be able to see somewhere that it the data is for &amp;amp;ZIP5 on each page. This is why I thought using the header option made sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem with using the Header option is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a program that creates .xml files. I'm attempting to add a simple header to display the &amp;amp;ZIP5 value by using the following statements inside my program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;options(embedded_titles='yes');&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;title "IBM PTH Report - &amp;amp;ZIP5 Sample";&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortuneatly my output data's width is very long and so multiple pages end up being created when it's opened in Excel. The result is that my header is only appearing ONCE across the width of multiple pages. &amp;nbsp;For instance, if my output is so long that it spans 5 pages when I open it in Excel then the header only appears centered on page 3 of the output. I was expecting it to appear centered on all 5 pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the full output code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	* Output to XML Excel ready format ;
	options papersize='Legal';
	ods tagsets.excelxp file="/home/ssbuechl/IBM_Test_Harness_Comparison_Report_&amp;amp;ZIP5.._&amp;amp;rundate..xml" 
						style=statistical options(orientation='landscape' gridlines='yes')
						options(embedded_titles='yes');
	title "IBM PTH Report - &amp;amp;ZIP5 Sample";
	proc print noobs data=FinalData&amp;amp;ZIP5;
		* format Rule_Order best6. total comma10. _: comma10. null comma10.; 
		var rule_order score_impacting rule_nm; 
		var total _: null / style={tagattr="format:###,###,###"};
	run;
	ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 15:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287225#M59059</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-07-26T15:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp - Header or something</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287379#M59123</link>
      <description>&lt;P&gt;There is no reason that the title should appear several times for one output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That Excel split the data when viewing is irrelevant, and the split can happen anywhere depending on Excel's setup and even on your monitor's size. So what is a "page"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 00:41:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287379#M59123</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-07-27T00:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp - Header or something</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287396#M59129</link>
      <description>By page I meant I want it to appear once per page after I open it in excel,&lt;BR /&gt;after excel splits the output into multiple pages, so that the user can&lt;BR /&gt;always see the &amp;amp;ZIP5 value when viewing the file in Excel.&lt;BR /&gt;&lt;BR /&gt;Would their be a way to give the XLS tab a name that included the &amp;amp;ZIP5&lt;BR /&gt;value?&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##&lt;BR /&gt;&lt;BR /&gt;Sent from mobile</description>
      <pubDate>Wed, 27 Jul 2016 02:50:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287396#M59129</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-07-27T02:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp - Header or something</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287397#M59130</link>
      <description>&lt;P&gt;There is no page. Excel will split depending on the screen size, the zoom level, the font, etc.&lt;/P&gt;
&lt;P&gt;Try option sheet_name= (up to 31 characters).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 03:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287397#M59130</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-07-27T03:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp - Header or something</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287466#M59154</link>
      <description>How about this. Is it possible to somehow output a single record with the value &amp;amp;ZIP5 that would appear just about my outputs column names? So basically an extra row at the top of my output where I could fill cell A1 with the &amp;amp;ZIP5 value? At least this way the user would see the &amp;amp;ZIP5 value when they print the output in Excel.</description>
      <pubDate>Wed, 27 Jul 2016 13:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287466#M59154</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-07-27T13:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp - Header or something</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287670#M59214</link>
      <description>&lt;P&gt;&lt;SPAN class="token statement"&gt;Maybe add this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title2 j=left " &amp;amp;ZIP5 ";
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Jul 2016 22:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/287670#M59214</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-07-27T22:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp - Header or something</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/288173#M59373</link>
      <description>Thanks. That helped quite a bit!</description>
      <pubDate>Fri, 29 Jul 2016 16:47:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/288173#M59373</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-07-29T16:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: ods tagsets.excelxp - Header or something</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/288246#M59391</link>
      <description>&lt;P&gt;Hi, And, if you are using BY group processing, you can put the BY group variable as the sheet name. Look at the screen shot and the picture in this posting:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Different-Worksheet-for-Each-Group-By-Variables-in-SAS/m-p/285296/highlight/true#M16385" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/Creating-Different-Worksheet-for-Each-Group-By-Variables-in-SAS/m-p/285296/highlight/true#M16385&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Excel headers only show when you go into Print Preview or actually print the file. Here's an example:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4337iF256DF9C0E999617/image-size/original?v=v2&amp;amp;px=-1" alt="using_ExcelXP_headers.png" title="using_ExcelXP_headers.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 20:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-tagsets-excelxp-Header-or-something/m-p/288246#M59391</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-29T20:12:59Z</dc:date>
    </item>
  </channel>
</rss>

