<?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 question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198989#M266625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Post it at &lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2007" data-containertype="14" data-objectid="6" data-objecttype="14" href="https://communities.sas.com/community/support-communities/ods_and_base_reporting" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba; background-color: #ffffff;"&gt;ODS and Base Reporting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cynthia will give you answer . Did you try the code offered by Jag. It looks like good .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 10:06:58 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2015-03-12T10:06:58Z</dc:date>
    <item>
      <title>ODS tagsets.excelxp question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198985#M266621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ods to output a spreadsheet for my sas tables.&amp;nbsp; Is there an option to center the column headings?&amp;nbsp; I can put a filter on and lock the header row but I would like to center the column heading and make it bold if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a sample of what I have so far:&lt;/P&gt;&lt;P class="ecxmsonormal" style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;ods&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;listing&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;close&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;ods&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;tagsets.excelxp&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;=rptfl&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal"&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;options(embedded_titles=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;'yes'&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;minimize_style=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;'yes'&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;wraptext=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;'no'&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;AUTOFIT_HEIGHT=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;'yes'&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;rs=none &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;=Statistical;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;ods&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;noproctitle&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal"&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: green; background-position: initial;"&gt;/*definitions tab*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue; background-position: initial;"&gt;ods&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;tagsets.excelxp options(sheet_name=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;"Definitions"&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;sheet_interval=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;'none'&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;embedded_titles=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;'on'&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;wraptext = &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;"no"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt; absolute_column_width=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: purple; background-position: initial;"&gt;"9,55,20"&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxmsonormal" style="background: white;"&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black; background-position: initial;"&gt;Thanks,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198985#M266621</guid>
      <dc:creator>Elliott</dc:creator>
      <dc:date>2015-03-11T12:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: ODS tagsets.excelxp question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198986#M266622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if there is a way to to control the column headers from the ods tagsets.excelxp options. However you could select a particular style and then by proc template you could modify that style and create your own style and apply this style in the ods tagsets.excelxp. something which i have done here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sansPrinter is one of the ods tagsets.excelxp style available, which i have taken and modified the column headers as below and created a new style called XLsansPrinter which i again used in tagsets.excelxp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;define style styles.XLsansPrinter;&lt;/P&gt;&lt;P&gt;parent = styles.sansPrinter;&lt;/P&gt;&lt;P&gt;style header from header /&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;font_size = 12pt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;font_weight = bold&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;font_style = roman&lt;/P&gt;&lt;P&gt;just = left&lt;/P&gt;&lt;P&gt;vjust = bottom;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file='~path\class.xls' options(doc='help' autofilter='1' Frozen_Headers='yes') style=&lt;STRONG&gt;XLsansPrinter&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;proc print data= sashelp.class ;&lt;/P&gt;&lt;P&gt;var name age height weight ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 15:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198986#M266622</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-03-11T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODS tagsets.excelxp question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198987#M266623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post it at &lt;A _jive_internal="true" data-containerid="2007" data-containertype="14" data-objectid="6" data-objecttype="14" href="https://communities.sas.com/community/support-communities/ods_and_base_reporting" style="color: #0e66ba; background-color: #f0f8fb;"&gt;ODS and Base Reporting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can add a style into it like:&lt;/P&gt;&lt;P&gt;style(header)={just=center}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:16:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198987#M266623</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-03-12T09:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: ODS tagsets.excelxp question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198988#M266624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where would I place this line in the code I posted?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:45:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198988#M266624</guid>
      <dc:creator>Elliott</dc:creator>
      <dc:date>2015-03-12T09:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: ODS tagsets.excelxp question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198989#M266625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Post it at &lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2007" data-containertype="14" data-objectid="6" data-objecttype="14" href="https://communities.sas.com/community/support-communities/ods_and_base_reporting" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba; background-color: #ffffff;"&gt;ODS and Base Reporting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cynthia will give you answer . Did you try the code offered by Jag. It looks like good .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 10:06:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198989#M266625</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-03-12T10:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: ODS tagsets.excelxp question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198990#M266626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jag, I have this working.&amp;nbsp; Another question... do you know if you can make the header labels all in upper case with one of the style options.&amp;nbsp; I have searched for information and am not finding it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cindy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 13:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-tagsets-excelxp-question/m-p/198990#M266626</guid>
      <dc:creator>Elliott</dc:creator>
      <dc:date>2015-03-19T13:07:09Z</dc:date>
    </item>
  </channel>
</rss>

