<?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 xls Title starts in 2nd column in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45172#M5968</link>
    <description>My post strips out some of the code.  I can't post the font defintions, color= size= for some reason.</description>
    <pubDate>Tue, 16 Jun 2009 13:21:03 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-06-16T13:21:03Z</dc:date>
    <item>
      <title>ODS xls Title starts in 2nd column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45169#M5965</link>
      <description>I have the following title in my proc report.  The font and color etc works fine but it starts in column 2.  Why is it skipping over column 1?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
title1 " &lt;FONT color="black" size="3"&gt;&lt;B&gt;title test&lt;/B&gt;&lt;/FONT&gt;";&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
this is my ods statement:&lt;BR /&gt;
ods markup file="c:\test.xls" tagset=tagsets.test &lt;BR /&gt;
 stylesheet='c:\temp.css' headtext="&lt;STYLE&gt; td {mso-number-format:\@}&lt;/STYLE&gt;" ;</description>
      <pubDate>Tue, 16 Jun 2009 12:56:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45169#M5965</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-16T12:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: ODS xls Title starts in 2nd column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45170#M5966</link>
      <description>From what I can see, your HTML TD tag terminates and there is a blank character before the character data you have in your title.  Move the start of your title to be right up against the "&amp;gt;" character if you have an issue with an imbedded blank.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 16 Jun 2009 13:11:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45170#M5966</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-06-16T13:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: ODS xls Title starts in 2nd column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45171#M5967</link>
      <description>I edited the code to remove project information.  It doesn't have a blank.  Let me try again.  Here is the title:&lt;BR /&gt;
&lt;BR /&gt;
title1 " &lt;FONT color="black" size="3"&gt;&lt;B&gt;UNC Test Title&lt;/B&gt;&lt;/FONT&gt;";</description>
      <pubDate>Tue, 16 Jun 2009 13:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45171#M5967</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-16T13:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: ODS xls Title starts in 2nd column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45172#M5968</link>
      <description>My post strips out some of the code.  I can't post the font defintions, color= size= for some reason.</description>
      <pubDate>Tue, 16 Jun 2009 13:21:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45172#M5968</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-16T13:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: ODS xls Title starts in 2nd column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45173#M5969</link>
      <description>Hi:&lt;BR /&gt;
  It looks to me as though:&lt;BR /&gt;
1) you are using a custom tagset template&lt;BR /&gt;
2) you are using a custom HTML tagset template (because of the mso-number-format syntax)&lt;BR /&gt;
3) you are calling the file .XLS because you want Excel to launch and render the file.&lt;BR /&gt;
 &lt;BR /&gt;
  When you use ODS to create a file for Excel to open, you are generally using one of these 3 methods:&lt;BR /&gt;
1) ODS CSV (or a modified tagset template based on ODS CSV) -- file type created is ASCII text comma separated value file that Excel can open and render.&lt;BR /&gt;
2) ODS HTML (or a modified tagset template based on ODS HTML, ODS MSOFFICE2K, ODS HTML3, ODS CHTML or any of the other HTML-based templates) -- file type created is ASCII text HTML file that Excel can open and render&lt;BR /&gt;
3) ODS TAGSETS.EXCELXP (or a modified tagset template based on ODS TAGSETS.EXCELXP) -- file created is an ASCII Spreadsheet Markup Language XML file that Excel can open and render&lt;BR /&gt;
&lt;BR /&gt;
Since your code snippet refers to tagset=test, it is unclear which one of these 3 tagset templates you used as the parent for your custom tagset template. However, keep in mind that mso-number-format will ONLY work with HTML-based output from ODS -- not with CSV or ExcelXP output.&lt;BR /&gt;
&lt;BR /&gt;
It is very tricky to post code with &amp;lt; or &amp;gt; to the forum. And, besides, someone really needs to look at your PROC TEMPLATE code and your entire program to see what might be happening in your tagset template definition. If you wrote your template to have a mix of XML and HTML, you might not get the results you want when Excel opens the file.&lt;BR /&gt;
&lt;BR /&gt;
This is the kind of question that is best directed to Tech Support, as they can look at -ALL- your code and help you find some resolution.&lt;BR /&gt;
 &lt;BR /&gt;
To open a track with Tech Supprt, go to:&lt;BR /&gt;
 &lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;BR /&gt;
  &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 16 Jun 2009 17:05:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-xls-Title-starts-in-2nd-column/m-p/45173#M5969</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-06-16T17:05:28Z</dc:date>
    </item>
  </channel>
</rss>

