<?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: Title/header trouble in an Excel sheet in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125415#M10566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For 1, check the skip_space options in ODS Tagsets&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html#skip" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html#skip"&gt;Base SAS: Demo: ExcelXP Tagset and Microsoft Excel&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2013 15:02:47 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-08-29T15:02:47Z</dc:date>
    <item>
      <title>Title/header trouble in an Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125413#M10564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use ODS to create a formatted table in Excel via SAS. I'm actually most of the way there, but I was hoping to get help with a few more steps I'd like to take to perfect it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is there a way to eliminate the blank row automatically created between the title and the column headers?&lt;/P&gt;&lt;P&gt;2. Why isn't my Team column header centered (see code below)?&lt;/P&gt;&lt;P&gt;3. Is there a way to do a middle alignment in Excel via SAS (ie, have my text vertically centered in the Excel cell)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code I'm using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close ;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP path='c:\excel sheets'&lt;/P&gt;&lt;P&gt;file="TotalWins.xml" &lt;/P&gt;&lt;P&gt;style=listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title font=trebuchet&amp;nbsp; bold bcolor=grey justify=center &lt;/P&gt;&lt;P&gt;'Wins by Team';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.Excelxp options(embedded_titles='yes' embedded_footnotes='yes'&lt;/P&gt;&lt;P&gt;print_header='&amp;amp;C&amp;amp;A');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options(sheet_name='Wins by Team');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=Winsbyteam noobs style(header)=[background=silver &lt;/P&gt;&lt;P&gt;font_size=10pt just=center font_face=Trebuchet font_weight=bold];&lt;/P&gt;&lt;P&gt;var Team/style(column)=[font_face=trebuchet font_size=8pt] ;&lt;/P&gt;&lt;P&gt;var winrec/style(column)=[just=center font_face=trebuchet font_size=8pt];&lt;/P&gt;&lt;P&gt;run;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP close;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 14:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125413#M10564</guid>
      <dc:creator>Walternate</dc:creator>
      <dc:date>2013-08-29T14:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Title/header trouble in an Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125414#M10565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Would it be possible to post a small sample data?&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 14:46:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125414#M10565</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-08-29T14:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Title/header trouble in an Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125415#M10566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For 1, check the skip_space options in ODS Tagsets&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html#skip" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html#skip"&gt;Base SAS: Demo: ExcelXP Tagset and Microsoft Excel&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:02:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125415#M10566</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-08-29T15:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Title/header trouble in an Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125416#M10567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My raw data or the Excel spreadsheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:09:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125416#M10567</guid>
      <dc:creator>Walternate</dc:creator>
      <dc:date>2013-08-29T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Title/header trouble in an Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125417#M10568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample raw data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125417#M10568</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-08-29T15:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Title/header trouble in an Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125418#M10569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just two columns with a list of Little League Teams and a count of how many times that team has won.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Team&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tigers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;Jackals&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;Comets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;/P&gt;&lt;P&gt;Marlins&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P&gt;Thunder&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:23:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125418#M10569</guid>
      <dc:creator>Walternate</dc:creator>
      <dc:date>2013-08-29T15:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Title/header trouble in an Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125419#M10570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;As &lt;A __default_attr="255172" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; correctly suggested, you need to use the skip_space option:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close ;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP path='&amp;amp;path.\' file="TotalWins.xml"&lt;/P&gt;&lt;P&gt;style=listing&lt;STRONG&gt; options(SKIP_SPACE='0,0,0,1,0,0,0');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:43:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125419#M10570</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-08-29T15:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Title/header trouble in an Excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125420#M10571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Re #3. The link I sent also seems to suggest that center in proc report can be used to center variables if required.&lt;/P&gt;&lt;P&gt;See the example under:&lt;/P&gt;&lt;H2&gt;Default Column Width and Width Fudge&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I usually use something like the following for titles, but not sure it works in tagsets:&lt;/P&gt;&lt;P&gt;ods eschapechar="^";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title "^{style [color=Black fontsize=14pt font_face=georgia just=center] Teams by Win}";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 16:54:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Title-header-trouble-in-an-Excel-sheet/m-p/125420#M10571</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-08-29T16:54:15Z</dc:date>
    </item>
  </channel>
</rss>

