<?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 &amp; Proc Report questions in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165375#M12143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that does not appear to work for me... is the correct word underline or underlin? Is there a specific order that the title statement attributes must follow? (font first etc... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FWIW Running Sas 9.1.3 and latest excelxp tageset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this becomes problematic I am going to resort to writing DDE to change the font size etc. But I would rather not. I am already doing screwy things like saving the xlm file as an xlsx file, inserting graphics and progrmatically changing the templet for the conversion program in excel 2007 to get custom colors recognized in earlier versions of excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 19:35:36 GMT</pubDate>
    <dc:creator>cwdonald</dc:creator>
    <dc:date>2014-05-21T19:35:36Z</dc:date>
    <item>
      <title>ODS &amp; Proc Report questions</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165373#M12141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do several things... 1 I want to underline my first title in Proc Report..... Second&amp;nbsp; a blank line between Title1 and Title2 ...&amp;nbsp; Currently using SAS 9.1.3, and latest excelxp tagset.&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP&lt;/P&gt;&lt;P&gt;style=minimal&lt;/P&gt;&lt;P&gt;file = "P:\Analytics\Meta_Partner_Report\chritest.xlm";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.ExcelXP &lt;/P&gt;&lt;P&gt;&amp;nbsp; options(default_column_width="20, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10" &lt;/P&gt;&lt;P&gt;&amp;nbsp; width_fudge='0.75' &lt;/P&gt;&lt;P&gt;&amp;nbsp; EMBEDDED_TITLES = 'yes' &lt;/P&gt;&lt;P&gt;&amp;nbsp; AUTOFIT_HEIGHT = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; bordercolor = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; FITTOPAGE = 'yes'&lt;/P&gt;&lt;P&gt;&amp;nbsp; orientation = 'landscape'&lt;/P&gt;&lt;P&gt;&amp;nbsp; frozen_headers='4' &lt;/P&gt;&lt;P&gt;&amp;nbsp; Pages_FitWidth = '1'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Pages_FitHeight = '100'&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet_interval='none'&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet_name='PASNAP Frontpage');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;* WORKSHEET 1 - FRONTPAGE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; title1 Underline f='Myriad' h=18pt&amp;nbsp; c=black bc=CXA9CC38 "PA SNAP Report";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; title2 f='Myriad' h=18pt bc=CXA9CC38 "PA SNAP Summary of Results by List Source";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report nowindows data = Xl_pasnap_frontpage split='*'&lt;/P&gt;&lt;P&gt;&amp;nbsp; style(header)=[background=CX152E5F font_face=Myriad font_size=14pt foreground=cxffffff];&lt;/P&gt;&lt;P&gt;&amp;nbsp; column PA_Type Total_Outreach Total_Unique_Outreach Responded SNAP_Initiated SNAP_Submitted &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Secondary_Submitted PA_SNAP_Submissions_Grand_Total;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define PA_Type/"PA SNAP Type";&lt;/P&gt;&lt;P&gt;&amp;nbsp; define Total_Outreach/"Total Outreach";&lt;/P&gt;&lt;P&gt;&amp;nbsp; define Total_Unique_Outreach/"Unique Outreach";&lt;/P&gt;&lt;P&gt;&amp;nbsp; define Responded/"Unique Responses";&lt;/P&gt;&lt;P&gt;&amp;nbsp; define SNAP_Initiated/"Initiated";&lt;/P&gt;&lt;P&gt;&amp;nbsp; define SNAP_Submitted/"Submitted";&lt;/P&gt;&lt;P&gt;&amp;nbsp; define Secondary_Submitted/"Secondary Submissions";&lt;/P&gt;&lt;P&gt;&amp;nbsp; define PA_SNAP_Submissions_Grand_Total/"Project Total Submissions";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 19:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165373#M12141</guid>
      <dc:creator>cwdonald</dc:creator>
      <dc:date>2014-05-19T19:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODS &amp; Proc Report questions</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165374#M12142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Underline=1 , 2 or 3 to set the line thickness for the underline, must specify one of these values. You should have been getting a Warning about ambigous title options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear title2 and use your current text for Title3 to get a line between titles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 21:45:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165374#M12142</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-19T21:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: ODS &amp; Proc Report questions</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165375#M12143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that does not appear to work for me... is the correct word underline or underlin? Is there a specific order that the title statement attributes must follow? (font first etc... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FWIW Running Sas 9.1.3 and latest excelxp tageset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this becomes problematic I am going to resort to writing DDE to change the font size etc. But I would rather not. I am already doing screwy things like saving the xlm file as an xlsx file, inserting graphics and progrmatically changing the templet for the conversion program in excel 2007 to get custom colors recognized in earlier versions of excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 19:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165375#M12143</guid>
      <dc:creator>cwdonald</dc:creator>
      <dc:date>2014-05-21T19:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODS &amp; Proc Report questions</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165376#M12144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi: I only have 9.4 to write code with. Unless you find someone who has 9.1.3 to work with your code, your best bet may be with Tech Support. I do not actually know whether the Underline option is supported in the TAGSETS.EXCELXP destination. For example, when I simplify your code, in SAS 9.4, the UNDERLINE option works for HTML but not for TAGSETS.EXCELXP destination. I suspect this is because the UNDERLINE option writes something not respected by Excel. On the other hand, the method 2 code does work in both Excel and HTML, using ODS ESCAPECHAR and a STYLE override using TEXTDECORATION attribute. See attached screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** 1) use UNDERLINE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html file='c:\temp\testht_title1.html' style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.ExcelXP file='c:\temp\testxp_title1.xml'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; options(EMBEDDED_TITLES = 'yes' ) style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title1 underline=1 '1) First Title';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title2 ' ';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title3 underline=1 'Title after Blank';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc print data=sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;**2) use ODS ESCAPECHAR;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html file='c:\temp\testht_title2.html' style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.ExcelXP file='c:\temp\testxp_title2.xml'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; options(EMBEDDED_TITLES = 'yes' ) style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title1 '^{style[textdecoration=underline]2) First Title}';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title2 ' ';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title3 '^{style[textdecoration=underline]Title after Blank}';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc print data=sashelp.class;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10717i54A47E171C09A04F/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="method2_underline_works_html_and_works_excel.png" title="method2_underline_works_html_and_works_excel.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10718i92AA0CACC6D6485A/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="method1_underline_works_html_not_excel.png" title="method1_underline_works_html_not_excel.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 21:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Proc-Report-questions/m-p/165376#M12144</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-05-21T21:57:25Z</dc:date>
    </item>
  </channel>
</rss>

